修改苏安院实体设备逻辑
This commit is contained in:
parent
e72837d793
commit
7c54f0976b
@ -44,6 +44,7 @@ public class SaySwitchConfig extends RealDeviceConfig {
|
||||
return false;
|
||||
} else {
|
||||
turnToN = true;
|
||||
turnToP = false;
|
||||
startTime = LocalDateTime.now();
|
||||
return true;
|
||||
}
|
||||
@ -57,6 +58,7 @@ public class SaySwitchConfig extends RealDeviceConfig {
|
||||
if (turnToP) {
|
||||
return false;
|
||||
} else {
|
||||
turnToN = false;
|
||||
turnToP = true;
|
||||
startTime = LocalDateTime.now();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user