@aceplus/smartace-api 2.12.0 → 2.13.0-alpha.10

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.
@@ -75,6 +75,9 @@ export class CabinetProto extends jspb.Message {
75
75
  getLastConfigUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
76
76
  setLastConfigUpdated(value?: google_protobuf_timestamp_pb.Timestamp): void;
77
77
 
78
+ getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
79
+ setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
80
+
78
81
  serializeBinary(): Uint8Array;
79
82
  toObject(includeInstance?: boolean): CabinetProto.AsObject;
80
83
  static toObject(includeInstance: boolean, msg: CabinetProto): CabinetProto.AsObject;
@@ -106,6 +109,7 @@ export namespace CabinetProto {
106
109
  communicationTime: number,
107
110
  lastConfigString: string,
108
111
  lastConfigUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
112
+ spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
109
113
  }
110
114
 
111
115
  export class CreateRequest extends jspb.Message {
@@ -135,6 +139,9 @@ export namespace CabinetProto {
135
139
  getClientId(): number;
136
140
  setClientId(value: number): void;
137
141
 
142
+ getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
143
+ setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
144
+
138
145
  serializeBinary(): Uint8Array;
139
146
  toObject(includeInstance?: boolean): CreateRequest.AsObject;
140
147
  static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
@@ -155,6 +162,7 @@ export namespace CabinetProto {
155
162
  extIo2Name: string,
156
163
  groupId: string,
157
164
  clientId: number,
165
+ spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
158
166
  }
159
167
  }
160
168
 
@@ -223,6 +231,9 @@ export namespace CabinetProto {
223
231
  getClientId(): number;
224
232
  setClientId(value: number): void;
225
233
 
234
+ getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
235
+ setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
236
+
226
237
  serializeBinary(): Uint8Array;
227
238
  toObject(includeInstance?: boolean): UpdateRequest.AsObject;
228
239
  static toObject(includeInstance: boolean, msg: UpdateRequest): UpdateRequest.AsObject;
@@ -244,6 +255,7 @@ export namespace CabinetProto {
244
255
  extIo2Name: string,
245
256
  groupId: string,
246
257
  clientId: number,
258
+ spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
247
259
  }
248
260
  }
249
261
 
@@ -317,6 +329,9 @@ export namespace CabinetProto {
317
329
  getCount(): number;
318
330
  setCount(value: number): void;
319
331
 
332
+ getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
333
+ setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
334
+
320
335
  serializeBinary(): Uint8Array;
321
336
  toObject(includeInstance?: boolean): SearchRequest.AsObject;
322
337
  static toObject(includeInstance: boolean, msg: SearchRequest): SearchRequest.AsObject;
@@ -335,6 +350,7 @@ export namespace CabinetProto {
335
350
  clientId: number,
336
351
  page: number,
337
352
  count: number,
353
+ spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
338
354
  }
339
355
  }
340
356
 
@@ -1216,6 +1232,14 @@ export namespace CabinetProto {
1216
1232
  export const OpenRequestType: OpenRequestTypeMap;
1217
1233
  }
1218
1234
 
1235
+ export interface SpicTypeMap {
1236
+ CABINET: 0;
1237
+ MANHOLE: 1;
1238
+ CLOSURE: 2;
1239
+ }
1240
+
1241
+ export const SpicType: SpicTypeMap;
1242
+
1219
1243
  export interface StatusTypeMap {
1220
1244
  STATE_IDLE: 0;
1221
1245
  STATE_BUTTON: 1;
@@ -63,6 +63,7 @@ goog.exportSymbol('proto.Spic.CabinetProto.RetrieveRequest', null, global);
63
63
  goog.exportSymbol('proto.Spic.CabinetProto.RetrieveRequest.SearchCase', null, global);
64
64
  goog.exportSymbol('proto.Spic.CabinetProto.SearchReply', null, global);
65
65
  goog.exportSymbol('proto.Spic.CabinetProto.SearchRequest', null, global);
66
+ goog.exportSymbol('proto.Spic.CabinetProto.SpicType', null, global);
66
67
  goog.exportSymbol('proto.Spic.CabinetProto.State', null, global);
67
68
  goog.exportSymbol('proto.Spic.CabinetProto.State.SearchReply', null, global);
68
69
  goog.exportSymbol('proto.Spic.CabinetProto.State.SearchRequest', null, global);
@@ -778,7 +779,8 @@ proto.Spic.CabinetProto.toObject = function(includeInstance, msg) {
778
779
  batteryPercentage: jspb.Message.getFieldWithDefault(msg, 16, 0),
779
780
  communicationTime: jspb.Message.getFieldWithDefault(msg, 17, 0),
780
781
  lastConfigString: jspb.Message.getFieldWithDefault(msg, 18, ""),
781
- lastConfigUpdated: (f = msg.getLastConfigUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
782
+ lastConfigUpdated: (f = msg.getLastConfigUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
783
+ spicType: jspb.Message.getFieldWithDefault(msg, 20, 0)
782
784
  };
783
785
 
784
786
  if (includeInstance) {
@@ -896,6 +898,10 @@ proto.Spic.CabinetProto.deserializeBinaryFromReader = function(msg, reader) {
896
898
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
897
899
  msg.setLastConfigUpdated(value);
898
900
  break;
901
+ case 20:
902
+ var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
903
+ msg.setSpicType(value);
904
+ break;
899
905
  default:
900
906
  reader.skipField();
901
907
  break;
@@ -1061,9 +1067,25 @@ proto.Spic.CabinetProto.serializeBinaryToWriter = function(message, writer) {
1061
1067
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1062
1068
  );
1063
1069
  }
1070
+ f = message.getSpicType();
1071
+ if (f !== 0.0) {
1072
+ writer.writeEnum(
1073
+ 20,
1074
+ f
1075
+ );
1076
+ }
1064
1077
  };
1065
1078
 
1066
1079
 
1080
+ /**
1081
+ * @enum {number}
1082
+ */
1083
+ proto.Spic.CabinetProto.SpicType = {
1084
+ CABINET: 0,
1085
+ MANHOLE: 1,
1086
+ CLOSURE: 2
1087
+ };
1088
+
1067
1089
  /**
1068
1090
  * @enum {number}
1069
1091
  */
@@ -1138,7 +1160,8 @@ proto.Spic.CabinetProto.CreateRequest.toObject = function(includeInstance, msg)
1138
1160
  extIo1Name: jspb.Message.getFieldWithDefault(msg, 5, ""),
1139
1161
  extIo2Name: jspb.Message.getFieldWithDefault(msg, 6, ""),
1140
1162
  groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
1141
- clientId: jspb.Message.getFieldWithDefault(msg, 8, 0)
1163
+ clientId: jspb.Message.getFieldWithDefault(msg, 8, 0),
1164
+ spicType: jspb.Message.getFieldWithDefault(msg, 9, 0)
1142
1165
  };
1143
1166
 
1144
1167
  if (includeInstance) {
@@ -1208,6 +1231,10 @@ proto.Spic.CabinetProto.CreateRequest.deserializeBinaryFromReader = function(msg
1208
1231
  var value = /** @type {number} */ (reader.readInt32());
1209
1232
  msg.setClientId(value);
1210
1233
  break;
1234
+ case 9:
1235
+ var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
1236
+ msg.setSpicType(value);
1237
+ break;
1211
1238
  default:
1212
1239
  reader.skipField();
1213
1240
  break;
@@ -1294,6 +1321,13 @@ proto.Spic.CabinetProto.CreateRequest.serializeBinaryToWriter = function(message
1294
1321
  f
1295
1322
  );
1296
1323
  }
1324
+ f = message.getSpicType();
1325
+ if (f !== 0.0) {
1326
+ writer.writeEnum(
1327
+ 9,
1328
+ f
1329
+ );
1330
+ }
1297
1331
  };
1298
1332
 
1299
1333
 
@@ -1460,6 +1494,24 @@ proto.Spic.CabinetProto.CreateRequest.prototype.setClientId = function(value) {
1460
1494
  };
1461
1495
 
1462
1496
 
1497
+ /**
1498
+ * optional SpicType spic_type = 9;
1499
+ * @return {!proto.Spic.CabinetProto.SpicType}
1500
+ */
1501
+ proto.Spic.CabinetProto.CreateRequest.prototype.getSpicType = function() {
1502
+ return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1503
+ };
1504
+
1505
+
1506
+ /**
1507
+ * @param {!proto.Spic.CabinetProto.SpicType} value
1508
+ * @return {!proto.Spic.CabinetProto.CreateRequest} returns this
1509
+ */
1510
+ proto.Spic.CabinetProto.CreateRequest.prototype.setSpicType = function(value) {
1511
+ return jspb.Message.setProto3EnumField(this, 9, value);
1512
+ };
1513
+
1514
+
1463
1515
 
1464
1516
  /**
1465
1517
  * Oneof group definitions for this message. Each group defines the field
@@ -1722,7 +1774,8 @@ proto.Spic.CabinetProto.UpdateRequest.toObject = function(includeInstance, msg)
1722
1774
  extIo1Name: jspb.Message.getFieldWithDefault(msg, 6, ""),
1723
1775
  extIo2Name: jspb.Message.getFieldWithDefault(msg, 7, ""),
1724
1776
  groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
1725
- clientId: jspb.Message.getFieldWithDefault(msg, 9, 0)
1777
+ clientId: jspb.Message.getFieldWithDefault(msg, 9, 0),
1778
+ spicType: jspb.Message.getFieldWithDefault(msg, 10, 0)
1726
1779
  };
1727
1780
 
1728
1781
  if (includeInstance) {
@@ -1796,6 +1849,10 @@ proto.Spic.CabinetProto.UpdateRequest.deserializeBinaryFromReader = function(msg
1796
1849
  var value = /** @type {number} */ (reader.readInt32());
1797
1850
  msg.setClientId(value);
1798
1851
  break;
1852
+ case 10:
1853
+ var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
1854
+ msg.setSpicType(value);
1855
+ break;
1799
1856
  default:
1800
1857
  reader.skipField();
1801
1858
  break;
@@ -1889,6 +1946,13 @@ proto.Spic.CabinetProto.UpdateRequest.serializeBinaryToWriter = function(message
1889
1946
  f
1890
1947
  );
1891
1948
  }
1949
+ f = message.getSpicType();
1950
+ if (f !== 0.0) {
1951
+ writer.writeEnum(
1952
+ 10,
1953
+ f
1954
+ );
1955
+ }
1892
1956
  };
1893
1957
 
1894
1958
 
@@ -2073,6 +2137,24 @@ proto.Spic.CabinetProto.UpdateRequest.prototype.setClientId = function(value) {
2073
2137
  };
2074
2138
 
2075
2139
 
2140
+ /**
2141
+ * optional SpicType spic_type = 10;
2142
+ * @return {!proto.Spic.CabinetProto.SpicType}
2143
+ */
2144
+ proto.Spic.CabinetProto.UpdateRequest.prototype.getSpicType = function() {
2145
+ return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
2146
+ };
2147
+
2148
+
2149
+ /**
2150
+ * @param {!proto.Spic.CabinetProto.SpicType} value
2151
+ * @return {!proto.Spic.CabinetProto.UpdateRequest} returns this
2152
+ */
2153
+ proto.Spic.CabinetProto.UpdateRequest.prototype.setSpicType = function(value) {
2154
+ return jspb.Message.setProto3EnumField(this, 10, value);
2155
+ };
2156
+
2157
+
2076
2158
 
2077
2159
  /**
2078
2160
  * Oneof group definitions for this message. Each group defines the field
@@ -2433,7 +2515,8 @@ proto.Spic.CabinetProto.SearchRequest.toObject = function(includeInstance, msg)
2433
2515
  groupId: jspb.Message.getFieldWithDefault(msg, 3, ""),
2434
2516
  clientId: jspb.Message.getFieldWithDefault(msg, 4, 0),
2435
2517
  page: jspb.Message.getFieldWithDefault(msg, 5, 0),
2436
- count: jspb.Message.getFieldWithDefault(msg, 6, 0)
2518
+ count: jspb.Message.getFieldWithDefault(msg, 6, 0),
2519
+ spicType: jspb.Message.getFieldWithDefault(msg, 7, 0)
2437
2520
  };
2438
2521
 
2439
2522
  if (includeInstance) {
@@ -2494,6 +2577,10 @@ proto.Spic.CabinetProto.SearchRequest.deserializeBinaryFromReader = function(msg
2494
2577
  var value = /** @type {number} */ (reader.readInt32());
2495
2578
  msg.setCount(value);
2496
2579
  break;
2580
+ case 7:
2581
+ var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
2582
+ msg.setSpicType(value);
2583
+ break;
2497
2584
  default:
2498
2585
  reader.skipField();
2499
2586
  break;
@@ -2565,6 +2652,13 @@ proto.Spic.CabinetProto.SearchRequest.serializeBinaryToWriter = function(message
2565
2652
  f
2566
2653
  );
2567
2654
  }
2655
+ f = message.getSpicType();
2656
+ if (f !== 0.0) {
2657
+ writer.writeEnum(
2658
+ 7,
2659
+ f
2660
+ );
2661
+ }
2568
2662
  };
2569
2663
 
2570
2664
 
@@ -2676,6 +2770,24 @@ proto.Spic.CabinetProto.SearchRequest.prototype.setCount = function(value) {
2676
2770
  };
2677
2771
 
2678
2772
 
2773
+ /**
2774
+ * optional SpicType spic_type = 7;
2775
+ * @return {!proto.Spic.CabinetProto.SpicType}
2776
+ */
2777
+ proto.Spic.CabinetProto.SearchRequest.prototype.getSpicType = function() {
2778
+ return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
2779
+ };
2780
+
2781
+
2782
+ /**
2783
+ * @param {!proto.Spic.CabinetProto.SpicType} value
2784
+ * @return {!proto.Spic.CabinetProto.SearchRequest} returns this
2785
+ */
2786
+ proto.Spic.CabinetProto.SearchRequest.prototype.setSpicType = function(value) {
2787
+ return jspb.Message.setProto3EnumField(this, 7, value);
2788
+ };
2789
+
2790
+
2679
2791
 
2680
2792
  /**
2681
2793
  * List of repeated fields within this message type.
@@ -9336,6 +9448,24 @@ proto.Spic.CabinetProto.prototype.hasLastConfigUpdated = function() {
9336
9448
  };
9337
9449
 
9338
9450
 
9451
+ /**
9452
+ * optional SpicType spic_type = 20;
9453
+ * @return {!proto.Spic.CabinetProto.SpicType}
9454
+ */
9455
+ proto.Spic.CabinetProto.prototype.getSpicType = function() {
9456
+ return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
9457
+ };
9458
+
9459
+
9460
+ /**
9461
+ * @param {!proto.Spic.CabinetProto.SpicType} value
9462
+ * @return {!proto.Spic.CabinetProto} returns this
9463
+ */
9464
+ proto.Spic.CabinetProto.prototype.setSpicType = function(value) {
9465
+ return jspb.Message.setProto3EnumField(this, 20, value);
9466
+ };
9467
+
9468
+
9339
9469
 
9340
9470
 
9341
9471