|
@@ -192,7 +192,7 @@ public class CommSendService {
|
|
* 执行频率: 2min debug:30s
|
|
* 执行频率: 2min debug:30s
|
|
*/
|
|
*/
|
|
public void scheduledConnect() {
|
|
public void scheduledConnect() {
|
|
- l.info("scheduled####Connect");
|
|
|
|
|
|
+ l.info("scheduled####Connect 连接情况 的 定时任务");
|
|
if (!SimDebugConfig.SCHEDULED_CONNECT) {
|
|
if (!SimDebugConfig.SCHEDULED_CONNECT) {
|
|
l.info("连接情况 的 定时任务被禁用!");
|
|
l.info("连接情况 的 定时任务被禁用!");
|
|
return;
|
|
return;
|
|
@@ -246,8 +246,10 @@ public class CommSendService {
|
|
*/
|
|
*/
|
|
public void checkAllSimState() {
|
|
public void checkAllSimState() {
|
|
RealExamCollection ecF = realExamCollectionService.selectRealExamCollectionOpened();
|
|
RealExamCollection ecF = realExamCollectionService.selectRealExamCollectionOpened();
|
|
|
|
+ l.info("ecF.getSimType() = {}", ecF.getSimType());
|
|
if (ecF != null) {
|
|
if (ecF != null) {
|
|
List<Sim> list = simService.listAllEnableBySimType(ecF.getSimType());
|
|
List<Sim> list = simService.listAllEnableBySimType(ecF.getSimType());
|
|
|
|
+ l.info("checkAllSimState list.size() = {}", list.size());
|
|
list.forEach(this::checkOneSimState);
|
|
list.forEach(this::checkOneSimState);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -423,6 +425,20 @@ public class CommSendService {
|
|
return list;
|
|
return list;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * todo:尚未实现
|
|
|
|
+ *
|
|
|
|
+ * @param simNum
|
|
|
|
+ * @param faultIds
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ public AjaxResult debugWriteSelectedFaultBySimNum(final String simNum,
|
|
|
|
+ final String[] faultIds,
|
|
|
|
+ final Boolean checkReplace) {
|
|
|
|
+
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
|
|
+
|
|
private String[] getGZBWBySimType(String simType) {
|
|
private String[] getGZBWBySimType(String simType) {
|
|
if (StringUtils.isBlank(simType)) {
|
|
if (StringUtils.isBlank(simType)) {
|
|
return new String[0];
|
|
return new String[0];
|
|
@@ -500,6 +516,7 @@ public class CommSendService {
|
|
return AjaxResult.error(sbNG.toString());
|
|
return AjaxResult.error(sbNG.toString());
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 检查读取。
|
|
* 检查读取。
|
|
*
|
|
*
|