@aceplus/smartace-api 2.9.0-alpha.24 → 2.9.0-alpha.26

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "2.9.0-alpha.24",
8
+ "version": "2.9.0-alpha.26",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -512,15 +512,21 @@ export namespace CabinetProto {
512
512
  getCabinetId(): number;
513
513
  setCabinetId(value: number): void;
514
514
 
515
- getBatteryEstimator(): number;
516
- setBatteryEstimator(value: number): void;
517
-
518
515
  getBatteryEmpty(): boolean;
519
516
  setBatteryEmpty(value: boolean): void;
520
517
 
521
518
  getCommunicationTime(): number;
522
519
  setCommunicationTime(value: number): void;
523
520
 
521
+ getBatteryUnloaded(): number;
522
+ setBatteryUnloaded(value: number): void;
523
+
524
+ getBatteryLoaded(): number;
525
+ setBatteryLoaded(value: number): void;
526
+
527
+ getBatteryTemperature(): number;
528
+ setBatteryTemperature(value: number): void;
529
+
524
530
  serializeBinary(): Uint8Array;
525
531
  toObject(includeInstance?: boolean): State.AsObject;
526
532
  static toObject(includeInstance: boolean, msg: State): State.AsObject;
@@ -551,9 +557,11 @@ export namespace CabinetProto {
551
557
  crc: string,
552
558
  settingNumber: number,
553
559
  cabinetId: number,
554
- batteryEstimator: number,
555
560
  batteryEmpty: boolean,
556
561
  communicationTime: number,
562
+ batteryUnloaded: number,
563
+ batteryLoaded: number,
564
+ batteryTemperature: number,
557
565
  }
558
566
 
559
567
  export class SearchRequest extends jspb.Message {
@@ -3627,9 +3627,11 @@ proto.Spic.CabinetProto.State.toObject = function(includeInstance, msg) {
3627
3627
  crc: jspb.Message.getFieldWithDefault(msg, 16, ""),
3628
3628
  settingNumber: jspb.Message.getFieldWithDefault(msg, 17, 0),
3629
3629
  cabinetId: jspb.Message.getFieldWithDefault(msg, 18, 0),
3630
- batteryEstimator: jspb.Message.getFieldWithDefault(msg, 19, 0),
3631
- batteryEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
3632
- communicationTime: jspb.Message.getFieldWithDefault(msg, 21, 0)
3630
+ batteryEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
3631
+ communicationTime: jspb.Message.getFieldWithDefault(msg, 20, 0),
3632
+ batteryUnloaded: jspb.Message.getFieldWithDefault(msg, 21, 0),
3633
+ batteryLoaded: jspb.Message.getFieldWithDefault(msg, 22, 0),
3634
+ batteryTemperature: jspb.Message.getFieldWithDefault(msg, 23, 0)
3633
3635
  };
3634
3636
 
3635
3637
  if (includeInstance) {
@@ -3742,17 +3744,25 @@ proto.Spic.CabinetProto.State.deserializeBinaryFromReader = function(msg, reader
3742
3744
  msg.setCabinetId(value);
3743
3745
  break;
3744
3746
  case 19:
3745
- var value = /** @type {number} */ (reader.readInt32());
3746
- msg.setBatteryEstimator(value);
3747
- break;
3748
- case 20:
3749
3747
  var value = /** @type {boolean} */ (reader.readBool());
3750
3748
  msg.setBatteryEmpty(value);
3751
3749
  break;
3752
- case 21:
3750
+ case 20:
3753
3751
  var value = /** @type {number} */ (reader.readUint32());
3754
3752
  msg.setCommunicationTime(value);
3755
3753
  break;
3754
+ case 21:
3755
+ var value = /** @type {number} */ (reader.readInt32());
3756
+ msg.setBatteryUnloaded(value);
3757
+ break;
3758
+ case 22:
3759
+ var value = /** @type {number} */ (reader.readInt32());
3760
+ msg.setBatteryLoaded(value);
3761
+ break;
3762
+ case 23:
3763
+ var value = /** @type {number} */ (reader.readInt32());
3764
+ msg.setBatteryTemperature(value);
3765
+ break;
3756
3766
  default:
3757
3767
  reader.skipField();
3758
3768
  break;
@@ -3909,27 +3919,41 @@ proto.Spic.CabinetProto.State.serializeBinaryToWriter = function(message, writer
3909
3919
  f
3910
3920
  );
3911
3921
  }
3912
- f = message.getBatteryEstimator();
3913
- if (f !== 0) {
3914
- writer.writeInt32(
3915
- 19,
3916
- f
3917
- );
3918
- }
3919
3922
  f = message.getBatteryEmpty();
3920
3923
  if (f) {
3921
3924
  writer.writeBool(
3922
- 20,
3925
+ 19,
3923
3926
  f
3924
3927
  );
3925
3928
  }
3926
3929
  f = message.getCommunicationTime();
3927
3930
  if (f !== 0) {
3928
3931
  writer.writeUint32(
3932
+ 20,
3933
+ f
3934
+ );
3935
+ }
3936
+ f = message.getBatteryUnloaded();
3937
+ if (f !== 0) {
3938
+ writer.writeInt32(
3929
3939
  21,
3930
3940
  f
3931
3941
  );
3932
3942
  }
3943
+ f = message.getBatteryLoaded();
3944
+ if (f !== 0) {
3945
+ writer.writeInt32(
3946
+ 22,
3947
+ f
3948
+ );
3949
+ }
3950
+ f = message.getBatteryTemperature();
3951
+ if (f !== 0) {
3952
+ writer.writeInt32(
3953
+ 23,
3954
+ f
3955
+ );
3956
+ }
3933
3957
  };
3934
3958
 
3935
3959
 
@@ -5148,46 +5172,46 @@ proto.Spic.CabinetProto.State.prototype.setCabinetId = function(value) {
5148
5172
 
5149
5173
 
5150
5174
  /**
5151
- * optional int32 battery_estimator = 19;
5152
- * @return {number}
5175
+ * optional bool battery_empty = 19;
5176
+ * @return {boolean}
5153
5177
  */
5154
- proto.Spic.CabinetProto.State.prototype.getBatteryEstimator = function() {
5155
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
5178
+ proto.Spic.CabinetProto.State.prototype.getBatteryEmpty = function() {
5179
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
5156
5180
  };
5157
5181
 
5158
5182
 
5159
5183
  /**
5160
- * @param {number} value
5184
+ * @param {boolean} value
5161
5185
  * @return {!proto.Spic.CabinetProto.State} returns this
5162
5186
  */
5163
- proto.Spic.CabinetProto.State.prototype.setBatteryEstimator = function(value) {
5164
- return jspb.Message.setProto3IntField(this, 19, value);
5187
+ proto.Spic.CabinetProto.State.prototype.setBatteryEmpty = function(value) {
5188
+ return jspb.Message.setProto3BooleanField(this, 19, value);
5165
5189
  };
5166
5190
 
5167
5191
 
5168
5192
  /**
5169
- * optional bool battery_empty = 20;
5170
- * @return {boolean}
5193
+ * optional uint32 communication_time = 20;
5194
+ * @return {number}
5171
5195
  */
5172
- proto.Spic.CabinetProto.State.prototype.getBatteryEmpty = function() {
5173
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false));
5196
+ proto.Spic.CabinetProto.State.prototype.getCommunicationTime = function() {
5197
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
5174
5198
  };
5175
5199
 
5176
5200
 
5177
5201
  /**
5178
- * @param {boolean} value
5202
+ * @param {number} value
5179
5203
  * @return {!proto.Spic.CabinetProto.State} returns this
5180
5204
  */
5181
- proto.Spic.CabinetProto.State.prototype.setBatteryEmpty = function(value) {
5182
- return jspb.Message.setProto3BooleanField(this, 20, value);
5205
+ proto.Spic.CabinetProto.State.prototype.setCommunicationTime = function(value) {
5206
+ return jspb.Message.setProto3IntField(this, 20, value);
5183
5207
  };
5184
5208
 
5185
5209
 
5186
5210
  /**
5187
- * optional uint32 communication_time = 21;
5211
+ * optional int32 battery_unloaded = 21;
5188
5212
  * @return {number}
5189
5213
  */
5190
- proto.Spic.CabinetProto.State.prototype.getCommunicationTime = function() {
5214
+ proto.Spic.CabinetProto.State.prototype.getBatteryUnloaded = function() {
5191
5215
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
5192
5216
  };
5193
5217
 
@@ -5196,11 +5220,47 @@ proto.Spic.CabinetProto.State.prototype.getCommunicationTime = function() {
5196
5220
  * @param {number} value
5197
5221
  * @return {!proto.Spic.CabinetProto.State} returns this
5198
5222
  */
5199
- proto.Spic.CabinetProto.State.prototype.setCommunicationTime = function(value) {
5223
+ proto.Spic.CabinetProto.State.prototype.setBatteryUnloaded = function(value) {
5200
5224
  return jspb.Message.setProto3IntField(this, 21, value);
5201
5225
  };
5202
5226
 
5203
5227
 
5228
+ /**
5229
+ * optional int32 battery_loaded = 22;
5230
+ * @return {number}
5231
+ */
5232
+ proto.Spic.CabinetProto.State.prototype.getBatteryLoaded = function() {
5233
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
5234
+ };
5235
+
5236
+
5237
+ /**
5238
+ * @param {number} value
5239
+ * @return {!proto.Spic.CabinetProto.State} returns this
5240
+ */
5241
+ proto.Spic.CabinetProto.State.prototype.setBatteryLoaded = function(value) {
5242
+ return jspb.Message.setProto3IntField(this, 22, value);
5243
+ };
5244
+
5245
+
5246
+ /**
5247
+ * optional int32 battery_temperature = 23;
5248
+ * @return {number}
5249
+ */
5250
+ proto.Spic.CabinetProto.State.prototype.getBatteryTemperature = function() {
5251
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
5252
+ };
5253
+
5254
+
5255
+ /**
5256
+ * @param {number} value
5257
+ * @return {!proto.Spic.CabinetProto.State} returns this
5258
+ */
5259
+ proto.Spic.CabinetProto.State.prototype.setBatteryTemperature = function(value) {
5260
+ return jspb.Message.setProto3IntField(this, 23, value);
5261
+ };
5262
+
5263
+
5204
5264
 
5205
5265
 
5206
5266