@lansweeper/discovery-sensor-proto 2.16.0 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gen-proto/discovery_sections_ot_pb.d.ts +33 -53
- package/gen-proto/discovery_sections_ot_pb.js +184 -158
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_api.proto +1 -1
- package/proto/discovery_sections_mac.proto +1 -1
- package/proto/discovery_sections_ot.proto +10 -40
- package/proto/discovery_sections_unix.proto +1 -1
- package/proto/discovery_sections_windows.proto +1 -1
|
@@ -16,14 +16,17 @@ export class OtBasicInfo extends jspb.Message {
|
|
|
16
16
|
clearRoutePath(): void;
|
|
17
17
|
getRoutePath(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
18
18
|
setRoutePath(value?: google_protobuf_wrappers_pb.StringValue): OtBasicInfo;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
|
|
20
|
+
hasRackIndex(): boolean;
|
|
21
|
+
clearRackIndex(): void;
|
|
22
|
+
getRackIndex(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
23
|
+
setRackIndex(value?: google_protobuf_wrappers_pb.UInt32Value): OtBasicInfo;
|
|
21
24
|
clearScannedByList(): void;
|
|
22
25
|
getScannedByList(): Array<OtScanConfigData>;
|
|
23
26
|
setScannedByList(value: Array<OtScanConfigData>): OtBasicInfo;
|
|
24
27
|
addScannedBy(value?: OtScanConfigData, index?: number): OtScanConfigData;
|
|
25
|
-
getComponentType():
|
|
26
|
-
setComponentType(value:
|
|
28
|
+
getComponentType(): string;
|
|
29
|
+
setComponentType(value: string): OtBasicInfo;
|
|
27
30
|
|
|
28
31
|
hasFirmware(): boolean;
|
|
29
32
|
clearFirmware(): void;
|
|
@@ -45,6 +48,8 @@ export class OtBasicInfo extends jspb.Message {
|
|
|
45
48
|
getExtendedInformationList(): Array<ModuleExtendedInformation>;
|
|
46
49
|
setExtendedInformationList(value: Array<ModuleExtendedInformation>): OtBasicInfo;
|
|
47
50
|
addExtendedInformation(value?: ModuleExtendedInformation, index?: number): ModuleExtendedInformation;
|
|
51
|
+
getScanId(): string;
|
|
52
|
+
setScanId(value: string): OtBasicInfo;
|
|
48
53
|
|
|
49
54
|
serializeBinary(): Uint8Array;
|
|
50
55
|
toObject(includeInstance?: boolean): OtBasicInfo.AsObject;
|
|
@@ -60,14 +65,15 @@ export namespace OtBasicInfo {
|
|
|
60
65
|
export type AsObject = {
|
|
61
66
|
isNetworkNode: boolean,
|
|
62
67
|
routePath?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
63
|
-
rackIndex
|
|
68
|
+
rackIndex?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
64
69
|
scannedByList: Array<OtScanConfigData.AsObject>,
|
|
65
|
-
componentType:
|
|
70
|
+
componentType: string,
|
|
66
71
|
firmware?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
67
72
|
partNumber: string,
|
|
68
73
|
slot?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
69
74
|
slotWidth?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
70
75
|
extendedInformationList: Array<ModuleExtendedInformation.AsObject>,
|
|
76
|
+
scanId: string,
|
|
71
77
|
}
|
|
72
78
|
}
|
|
73
79
|
|
|
@@ -84,10 +90,13 @@ export class OtScanConfigData extends jspb.Message {
|
|
|
84
90
|
setProtocolId(value: string): OtScanConfigData;
|
|
85
91
|
getProtocolName(): string;
|
|
86
92
|
setProtocolName(value: string): OtScanConfigData;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
93
|
+
|
|
94
|
+
hasPort(): boolean;
|
|
95
|
+
clearPort(): void;
|
|
96
|
+
getPort(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
97
|
+
setPort(value?: google_protobuf_wrappers_pb.UInt32Value): OtScanConfigData;
|
|
98
|
+
getNetworkProtocol(): string;
|
|
99
|
+
setNetworkProtocol(value: string): OtScanConfigData;
|
|
91
100
|
|
|
92
101
|
hasLastTried(): boolean;
|
|
93
102
|
clearLastTried(): void;
|
|
@@ -117,8 +126,8 @@ export namespace OtScanConfigData {
|
|
|
117
126
|
sensorName: string,
|
|
118
127
|
protocolId: string,
|
|
119
128
|
protocolName: string,
|
|
120
|
-
port
|
|
121
|
-
networkProtocol:
|
|
129
|
+
port?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
130
|
+
networkProtocol: string,
|
|
122
131
|
lastTried?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
123
132
|
lastScan?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
124
133
|
}
|
|
@@ -184,14 +193,19 @@ export namespace RackConfig {
|
|
|
184
193
|
}
|
|
185
194
|
|
|
186
195
|
export class ModuleData extends jspb.Message {
|
|
187
|
-
getComponentType():
|
|
188
|
-
setComponentType(value:
|
|
196
|
+
getComponentType(): string;
|
|
197
|
+
setComponentType(value: string): ModuleData;
|
|
189
198
|
|
|
190
199
|
hasName(): boolean;
|
|
191
200
|
clearName(): void;
|
|
192
201
|
getName(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
193
202
|
setName(value?: google_protobuf_wrappers_pb.StringValue): ModuleData;
|
|
194
203
|
|
|
204
|
+
hasMac(): boolean;
|
|
205
|
+
clearMac(): void;
|
|
206
|
+
getMac(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
207
|
+
setMac(value?: google_protobuf_wrappers_pb.StringValue): ModuleData;
|
|
208
|
+
|
|
195
209
|
hasManufacturer(): boolean;
|
|
196
210
|
clearManufacturer(): void;
|
|
197
211
|
getManufacturer(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
@@ -240,8 +254,9 @@ export class ModuleData extends jspb.Message {
|
|
|
240
254
|
|
|
241
255
|
export namespace ModuleData {
|
|
242
256
|
export type AsObject = {
|
|
243
|
-
componentType:
|
|
257
|
+
componentType: string,
|
|
244
258
|
name?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
259
|
+
mac?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
245
260
|
manufacturer?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
246
261
|
serialNumber?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
247
262
|
model?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
@@ -254,12 +269,8 @@ export namespace ModuleData {
|
|
|
254
269
|
}
|
|
255
270
|
|
|
256
271
|
export class ModuleExtendedInformation extends jspb.Message {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
getRootId(): string;
|
|
260
|
-
setRootId(value: string): ModuleExtendedInformation;
|
|
261
|
-
getName(): string;
|
|
262
|
-
setName(value: string): ModuleExtendedInformation;
|
|
272
|
+
getKey(): string;
|
|
273
|
+
setKey(value: string): ModuleExtendedInformation;
|
|
263
274
|
getValue(): string;
|
|
264
275
|
setValue(value: string): ModuleExtendedInformation;
|
|
265
276
|
|
|
@@ -275,38 +286,7 @@ export class ModuleExtendedInformation extends jspb.Message {
|
|
|
275
286
|
|
|
276
287
|
export namespace ModuleExtendedInformation {
|
|
277
288
|
export type AsObject = {
|
|
278
|
-
|
|
279
|
-
rootId: string,
|
|
280
|
-
name: string,
|
|
289
|
+
key: string,
|
|
281
290
|
value: string,
|
|
282
291
|
}
|
|
283
292
|
}
|
|
284
|
-
|
|
285
|
-
export enum ComponentType {
|
|
286
|
-
UNKNOWN = 0,
|
|
287
|
-
CONTROLLER = 1,
|
|
288
|
-
POWER_SUPPLY = 2,
|
|
289
|
-
COMMUNICATIONS = 3,
|
|
290
|
-
INPUT_MODULE = 4,
|
|
291
|
-
OUTPUT_MODULE = 5,
|
|
292
|
-
PROGRAM = 6,
|
|
293
|
-
MODULE_COUPLER = 7,
|
|
294
|
-
SOFTWARE = 8,
|
|
295
|
-
DRIVE = 9,
|
|
296
|
-
INDUSTRIAL_SWITCH = 10,
|
|
297
|
-
IO_MODULE = 11,
|
|
298
|
-
REMOTE_IO_MODULE = 12,
|
|
299
|
-
HUMAN_MACHINE_INTERFACE = 13,
|
|
300
|
-
ANALOG_IO_MODULE = 14,
|
|
301
|
-
GENERIC = 15,
|
|
302
|
-
LOOP_CONTROLLER = 16,
|
|
303
|
-
MOTION_CONTROLLER = 17,
|
|
304
|
-
POSITION_CONTROLLER = 18,
|
|
305
|
-
SENSOR = 19,
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
export enum NetworkProtocol {
|
|
309
|
-
NONE = 0,
|
|
310
|
-
TCP = 1,
|
|
311
|
-
UDP = 2,
|
|
312
|
-
}
|