@aceplus/smartace-api 2.9.0-alpha.24 → 2.9.0-alpha.25
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 +1 -1
- package/spic.cabinet_pb.d.ts +12 -4
- package/spic.cabinet_pb.js +94 -34
package/package.json
CHANGED
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -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 {
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -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
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
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
|
|
3753
|
-
var value = /** @type {number} */ (reader.
|
|
3750
|
+
case 20:
|
|
3751
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
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.
|
|
3913
|
-
if (f
|
|
3914
|
-
writer.
|
|
3922
|
+
f = message.getBatteryEmpty();
|
|
3923
|
+
if (f) {
|
|
3924
|
+
writer.writeBool(
|
|
3915
3925
|
19,
|
|
3916
3926
|
f
|
|
3917
3927
|
);
|
|
3918
3928
|
}
|
|
3919
|
-
f = message.
|
|
3920
|
-
if (f) {
|
|
3921
|
-
writer.
|
|
3929
|
+
f = message.getCommunicationTime();
|
|
3930
|
+
if (f !== 0) {
|
|
3931
|
+
writer.writeInt32(
|
|
3922
3932
|
20,
|
|
3923
3933
|
f
|
|
3924
3934
|
);
|
|
3925
3935
|
}
|
|
3926
|
-
f = message.
|
|
3936
|
+
f = message.getBatteryUnloaded();
|
|
3927
3937
|
if (f !== 0) {
|
|
3928
|
-
writer.
|
|
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
|
|
5152
|
-
* @return {
|
|
5175
|
+
* optional bool battery_empty = 19;
|
|
5176
|
+
* @return {boolean}
|
|
5153
5177
|
*/
|
|
5154
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5155
|
-
return /** @type {
|
|
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 {
|
|
5184
|
+
* @param {boolean} value
|
|
5161
5185
|
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5162
5186
|
*/
|
|
5163
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5164
|
-
return jspb.Message.
|
|
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
|
|
5170
|
-
* @return {
|
|
5193
|
+
* optional int32 communication_time = 20;
|
|
5194
|
+
* @return {number}
|
|
5171
5195
|
*/
|
|
5172
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5173
|
-
return /** @type {
|
|
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 {
|
|
5202
|
+
* @param {number} value
|
|
5179
5203
|
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5180
5204
|
*/
|
|
5181
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5182
|
-
return jspb.Message.
|
|
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
|
|
5211
|
+
* optional int32 battery_unloaded = 21;
|
|
5188
5212
|
* @return {number}
|
|
5189
5213
|
*/
|
|
5190
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
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.
|
|
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
|
|