@aceplus/smartace-api 2.9.0-alpha.9 → 2.9.0-publish-dart.1

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.9",
8
+ "version": "2.9.0-publish-dart.1",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -512,6 +512,15 @@ 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
+ getBatteryEmpty(): boolean;
519
+ setBatteryEmpty(value: boolean): void;
520
+
521
+ getCommunicationTime(): number;
522
+ setCommunicationTime(value: number): void;
523
+
515
524
  serializeBinary(): Uint8Array;
516
525
  toObject(includeInstance?: boolean): State.AsObject;
517
526
  static toObject(includeInstance: boolean, msg: State): State.AsObject;
@@ -542,6 +551,9 @@ export namespace CabinetProto {
542
551
  crc: string,
543
552
  settingNumber: number,
544
553
  cabinetId: number,
554
+ batteryEstimator: number,
555
+ batteryEmpty: boolean,
556
+ communicationTime: number,
545
557
  }
546
558
 
547
559
  export class SearchRequest extends jspb.Message {
@@ -3626,7 +3626,10 @@ proto.Spic.CabinetProto.State.toObject = function(includeInstance, msg) {
3626
3626
  imei: jspb.Message.getFieldWithDefault(msg, 15, ""),
3627
3627
  crc: jspb.Message.getFieldWithDefault(msg, 16, ""),
3628
3628
  settingNumber: jspb.Message.getFieldWithDefault(msg, 17, 0),
3629
- cabinetId: jspb.Message.getFieldWithDefault(msg, 18, 0)
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
3633
  };
3631
3634
 
3632
3635
  if (includeInstance) {
@@ -3738,6 +3741,18 @@ proto.Spic.CabinetProto.State.deserializeBinaryFromReader = function(msg, reader
3738
3741
  var value = /** @type {number} */ (reader.readInt64());
3739
3742
  msg.setCabinetId(value);
3740
3743
  break;
3744
+ case 19:
3745
+ var value = /** @type {number} */ (reader.readInt32());
3746
+ msg.setBatteryEstimator(value);
3747
+ break;
3748
+ case 20:
3749
+ var value = /** @type {boolean} */ (reader.readBool());
3750
+ msg.setBatteryEmpty(value);
3751
+ break;
3752
+ case 21:
3753
+ var value = /** @type {number} */ (reader.readUint32());
3754
+ msg.setCommunicationTime(value);
3755
+ break;
3741
3756
  default:
3742
3757
  reader.skipField();
3743
3758
  break;
@@ -3894,6 +3909,27 @@ proto.Spic.CabinetProto.State.serializeBinaryToWriter = function(message, writer
3894
3909
  f
3895
3910
  );
3896
3911
  }
3912
+ f = message.getBatteryEstimator();
3913
+ if (f !== 0) {
3914
+ writer.writeInt32(
3915
+ 19,
3916
+ f
3917
+ );
3918
+ }
3919
+ f = message.getBatteryEmpty();
3920
+ if (f) {
3921
+ writer.writeBool(
3922
+ 20,
3923
+ f
3924
+ );
3925
+ }
3926
+ f = message.getCommunicationTime();
3927
+ if (f !== 0) {
3928
+ writer.writeUint32(
3929
+ 21,
3930
+ f
3931
+ );
3932
+ }
3897
3933
  };
3898
3934
 
3899
3935
 
@@ -5111,6 +5147,60 @@ proto.Spic.CabinetProto.State.prototype.setCabinetId = function(value) {
5111
5147
  };
5112
5148
 
5113
5149
 
5150
+ /**
5151
+ * optional int32 battery_estimator = 19;
5152
+ * @return {number}
5153
+ */
5154
+ proto.Spic.CabinetProto.State.prototype.getBatteryEstimator = function() {
5155
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
5156
+ };
5157
+
5158
+
5159
+ /**
5160
+ * @param {number} value
5161
+ * @return {!proto.Spic.CabinetProto.State} returns this
5162
+ */
5163
+ proto.Spic.CabinetProto.State.prototype.setBatteryEstimator = function(value) {
5164
+ return jspb.Message.setProto3IntField(this, 19, value);
5165
+ };
5166
+
5167
+
5168
+ /**
5169
+ * optional bool battery_empty = 20;
5170
+ * @return {boolean}
5171
+ */
5172
+ proto.Spic.CabinetProto.State.prototype.getBatteryEmpty = function() {
5173
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 20, false));
5174
+ };
5175
+
5176
+
5177
+ /**
5178
+ * @param {boolean} value
5179
+ * @return {!proto.Spic.CabinetProto.State} returns this
5180
+ */
5181
+ proto.Spic.CabinetProto.State.prototype.setBatteryEmpty = function(value) {
5182
+ return jspb.Message.setProto3BooleanField(this, 20, value);
5183
+ };
5184
+
5185
+
5186
+ /**
5187
+ * optional uint32 communication_time = 21;
5188
+ * @return {number}
5189
+ */
5190
+ proto.Spic.CabinetProto.State.prototype.getCommunicationTime = function() {
5191
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
5192
+ };
5193
+
5194
+
5195
+ /**
5196
+ * @param {number} value
5197
+ * @return {!proto.Spic.CabinetProto.State} returns this
5198
+ */
5199
+ proto.Spic.CabinetProto.State.prototype.setCommunicationTime = function(value) {
5200
+ return jspb.Message.setProto3IntField(this, 21, value);
5201
+ };
5202
+
5203
+
5114
5204
 
5115
5205
 
5116
5206