Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -244,20 +244,21 @@ public class StandardCoveyorControlWithScannerDeviceDriver extends AbstractOpcDe
|
|||||||
} catch (Exception var17) {
|
} catch (Exception var17) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!this.itemProtocol.getIsonline()) {
|
// if (!this.itemProtocol.getIsonline()) {
|
||||||
|
// this.setIsonline(false);
|
||||||
|
// this.setIserror(true);
|
||||||
|
// message = "信号量同步异常";
|
||||||
|
// //未联机
|
||||||
|
// } else
|
||||||
|
if (mode == 0) {
|
||||||
this.setIsonline(false);
|
this.setIsonline(false);
|
||||||
this.setIserror(true);
|
|
||||||
message = "信号量同步异常";
|
|
||||||
//未联机
|
|
||||||
} else if (mode == 0) {
|
|
||||||
this.setIsonline(false);
|
|
||||||
this.setIserror(true);
|
|
||||||
message = "未联机";
|
message = "未联机";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.setIsonline(true);
|
this.setIsonline(true);
|
||||||
this.setIserror(false);
|
this.setIserror(false);
|
||||||
message = "";
|
if(error>0){
|
||||||
|
this.setIserror(true);
|
||||||
|
}
|
||||||
Instruction instruction = null;
|
Instruction instruction = null;
|
||||||
List toInstructions;
|
List toInstructions;
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
|
|||||||
Reference in New Issue
Block a user