设备添加集中站id
This commit is contained in:
parent
1f85ad141e
commit
dbed3c9c08
@ -75,6 +75,7 @@ public class DeviceStatusBitmapResponse extends MessageResponse {
|
||||
// DeviceStatusConvertor.fillField(builder, "id", deviceEntity.devName);
|
||||
String newOccName = DeviceNameChangerManage.findMatch(dt, deviceEntity.devName);
|
||||
DeviceStatusConvertor.fillField(builder, "id", newOccName);
|
||||
DeviceStatusConvertor.fillField(builder, "rtuId", this.rtuId);
|
||||
DeviceStatusConvertor.convertForTrack(deviceEntity.getStatus(), builder);
|
||||
DeviceStatusConvertor.convertForPlatform(deviceEntity.getStatus(), (Objects.isNull(deviceEntity.getSpare()) ? 0 : deviceEntity.getSpare()), builder);
|
||||
DeviceStatusConvertor.convertForSwitch(Objects.isNull(deviceEntity.getSpare()) ? 0 : deviceEntity.getSpare(), builder);
|
||||
|
@ -91,6 +91,7 @@ public class DeviceStatusChangeResponse extends MessageResponse {
|
||||
// DeviceStatusConvertor.fillField(builder, "id", this.devName);
|
||||
String occName = DeviceNameChangerManage.findMatch(this.type, this.devName);
|
||||
DeviceStatusConvertor.fillField(builder, "id", occName);
|
||||
DeviceStatusConvertor.fillField(builder, "rtuId", this.rtuId);
|
||||
DeviceStatusConvertor.convertForTrack(this.deviceStatus, builder);
|
||||
DeviceStatusConvertor.convertForPlatform(this.deviceStatus, Objects.isNull(this.spare) ? 0 : this.spare, builder);
|
||||
DeviceStatusConvertor.convertForSwitch(Objects.isNull(this.spare) ? 0 : this.spare, builder);
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user