端口枚举改为数字
This commit is contained in:
parent
f02474d72d
commit
78453c82ab
|
@ -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,
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
export enum DevicePort {
|
||||
A = 'A',
|
||||
B = 'B',
|
||||
C = 'C',
|
||||
A = 0,
|
||||
B = 1,
|
||||
C = 2,
|
||||
}
|
||||
|
||||
export enum DeviceType {
|
||||
|
|
Loading…
Reference in New Issue