mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 09:55:16 +08:00
添加遥控器的时间属性,和遥控器刷新时间
This commit is contained in:
parent
676ed87b60
commit
1172a7b7bf
@ -204,5 +204,9 @@ public class DeviceMsgDto {
|
|||||||
* 4.遥控器擦除完成
|
* 4.遥控器擦除完成
|
||||||
*/
|
*/
|
||||||
private String checkCodeStatusStr;
|
private String checkCodeStatusStr;
|
||||||
|
/**
|
||||||
|
* 已配对遥控器数量
|
||||||
|
*/
|
||||||
|
private Integer rfcNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -93,6 +93,7 @@ public class IotService {
|
|||||||
|
|
||||||
result.setCheckCodeStatus(Integer.valueOf(resultMap.get("checkCodeStatus")==null?"-1":resultMap.get("checkCodeStatus")));
|
result.setCheckCodeStatus(Integer.valueOf(resultMap.get("checkCodeStatus")==null?"-1":resultMap.get("checkCodeStatus")));
|
||||||
result.setCheckCodeStatusStr(MessageUtils.message("checkCodeStatusStr.name"+result.getCheckCodeStatus()));
|
result.setCheckCodeStatusStr(MessageUtils.message("checkCodeStatusStr.name"+result.getCheckCodeStatus()));
|
||||||
|
result.setRfcNumber(Integer.valueOf(resultMap.get("RFControllorNumber")==null?"-1":resultMap.get("RFControllorNumber")));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -220,7 +220,7 @@ public class EqEquipmentServiceImpl implements IEqEquipmentService {
|
|||||||
switch (operateType){
|
switch (operateType){
|
||||||
case 1: cmd = DeviceSetCmd.AutomaticDoorClosingSwitch_false; break;//自动关门功能开关 关
|
case 1: cmd = DeviceSetCmd.AutomaticDoorClosingSwitch_false; break;//自动关门功能开关 关
|
||||||
case 2: cmd = DeviceSetCmd.AutomaticDoorClosingSwitch_true; break;//自动关门功能开关 开
|
case 2: cmd = DeviceSetCmd.AutomaticDoorClosingSwitch_true; break;//自动关门功能开关 开
|
||||||
case 3: cmd = DeviceSetCmd.AutomaticDoorClosingTime; break;//延时自动关门的延时时长
|
case 3: cmd = DeviceSetCmd.AutomaticDoorClosingTime; break;//延时自动关门的延时时长(刷新倒计时时间)
|
||||||
case 4: cmd = DeviceSetCmd.DoorRunningTimesSwitch_true; break;//运行次数开关
|
case 4: cmd = DeviceSetCmd.DoorRunningTimesSwitch_true; break;//运行次数开关
|
||||||
case 5: cmd = DeviceSetCmd.DoorRunningTimesSwitch_false; break;//运行次数开关
|
case 5: cmd = DeviceSetCmd.DoorRunningTimesSwitch_false; break;//运行次数开关
|
||||||
case 6: cmd = DeviceSetCmd.CountDownConfig; break;//倒计时设置时间
|
case 6: cmd = DeviceSetCmd.CountDownConfig; break;//倒计时设置时间
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user