|
@@ -84,10 +84,7 @@ public class RelayUtils {
|
|
|
LabRelayRegisterEvent labRelayRegisterEvent=new LabRelayRegisterEvent(labRelay);
|
|
LabRelayRegisterEvent labRelayRegisterEvent=new LabRelayRegisterEvent(labRelay);
|
|
|
SpringUtils.getApplicationContext().publishEvent(labRelayRegisterEvent);
|
|
SpringUtils.getApplicationContext().publishEvent(labRelayRegisterEvent);
|
|
|
if(data.contains(RelayConstants.AT_STACH_ALL_STR)){
|
|
if(data.contains(RelayConstants.AT_STACH_ALL_STR)){
|
|
|
- log.info("#############################################");
|
|
|
|
|
- log.info(data);
|
|
|
|
|
- log.info("#############################################");
|
|
|
|
|
- String disposeCommand=data.replace(codeStr+RelayConstants.AT_STACH_ALL,"");
|
|
|
|
|
|
|
+ String disposeCommand=data.replace(codeStr+RelayConstants.AT_STACH_ALL,"").replace(codeStr+RelayConstants.AT_STACH_ALL_STR,"");
|
|
|
String splitCommand[]=disposeCommand.split(RelayConstants.AT_SPLITE);
|
|
String splitCommand[]=disposeCommand.split(RelayConstants.AT_SPLITE);
|
|
|
LabRelayStatus labRelayStatus = new LabRelayStatus();
|
|
LabRelayStatus labRelayStatus = new LabRelayStatus();
|
|
|
for(String split:splitCommand){
|
|
for(String split:splitCommand){
|