泰国沙盘删除多次出清才算出清逻辑

This commit is contained in:
joylink_zhangsai 2023-06-13 10:32:50 +08:00
parent 3c6cb3a994
commit c686a8d23e
1 changed files with 5 additions and 5 deletions

View File

@ -68,11 +68,11 @@ public class ThailandSectionServiceImpl implements UDPRealDeviceService {
config.setTimesOfRelease(0);
axle.setOccupy(true);
} else if (n == 85) {
config.setTimesOfRelease(config.getTimesOfRelease() + 1);
if (config.getTimesOfRelease() > 2) { //连续3次该计轴都是无占用状态才视为确实无占用
config.setTimesOfRelease(0);
axle.clear();
}
// config.setTimesOfRelease(config.getTimesOfRelease() + 1);
// if (config.getTimesOfRelease() > 2) { //连续3次该计轴都是无占用状态才视为确实无占用
config.setTimesOfRelease(0);
axle.clear();
// }
}
}
}