|
@@ -160,7 +160,7 @@ public class CommCheckService {
|
|
|
} else if (Objects.equals(result, SimMsg.Result.READ_TIMEOUT_EXCEPTION)) {
|
|
|
// 更新SimId
|
|
|
seatService.updateCurrentSimIdBySeatNum(seat.getSeatNum(), Sim.ID_0);
|
|
|
- String msgTemp = "座号[{0}]-没有连接任何接模拟器,检查线缆连接和线缆开关";
|
|
|
+ String msgTemp = "座号[{0}]-没有连接任何接模拟器,检查线缆开关和线缆连接!";
|
|
|
String msg = MessageFormat.format(msgTemp, seat.getSeatNum());
|
|
|
// 构造一个Sim对象
|
|
|
Sim simF = new Sim();
|
|
@@ -181,7 +181,7 @@ public class CommCheckService {
|
|
|
*/
|
|
|
public AjaxResult checkOneSimOnlineState(final Long simId) {
|
|
|
if (simId == null || simId <= 0) {
|
|
|
- return AjaxResult.error("没有连接任何接模拟器,<br>检查线缆连接和线缆开关!");
|
|
|
+ return AjaxResult.error("没有连接任何接模拟器,<br>检查线缆开关和线缆连接!");
|
|
|
}
|
|
|
Sim sim = simService.selectSimBySimId(simId);
|
|
|
if (sim != null) {
|