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 {