From 78453c82ab2c1feb8a7d098df766b067458ed2c2 Mon Sep 17 00:00:00 2001 From: Yuan Date: Thu, 4 Jan 2024 18:02:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E6=9E=9A=E4=B8=BE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/common.d.ts | 6 +++--- components/common/common.js | 6 +++--- src/common/common.ts | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/common/common.d.ts b/components/common/common.d.ts index 290b9c8..fcf7ed8 100644 --- a/components/common/common.d.ts +++ b/components/common/common.d.ts @@ -1,7 +1,7 @@ export declare enum DevicePort { - A = "A", - B = "B", - C = "C" + A = 0, + B = 1, + C = 2 } export declare enum DeviceType { Section = 0, diff --git a/components/common/common.js b/components/common/common.js index efc5767..8c980bd 100644 --- a/components/common/common.js +++ b/components/common/common.js @@ -1,8 +1,8 @@ var DevicePort; (function (DevicePort) { - DevicePort["A"] = "A"; - DevicePort["B"] = "B"; - DevicePort["C"] = "C"; + DevicePort[DevicePort["A"] = 0] = "A"; + DevicePort[DevicePort["B"] = 1] = "B"; + DevicePort[DevicePort["C"] = 2] = "C"; })(DevicePort || (DevicePort = {})); var DeviceType; (function (DeviceType) { diff --git a/src/common/common.ts b/src/common/common.ts index a8af3ba..8be5791 100644 --- a/src/common/common.ts +++ b/src/common/common.ts @@ -1,7 +1,7 @@ export enum DevicePort { - A = 'A', - B = 'B', - C = 'C', + A = 0, + B = 1, + C = 2, } export enum DeviceType {