rev phase值更改
This commit is contained in:
@@ -434,19 +434,19 @@ public class AgvNdcOneDeviceDriver extends AbstractDeviceDriver implements Devic
|
|||||||
}
|
}
|
||||||
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
|
data = NDCAgvService.sendAgvOneModeInst(phase, index, 0);
|
||||||
last_error = error;
|
last_error = error;
|
||||||
} else if (phase == 0x71) {
|
} else if (phase == 0x70) {
|
||||||
//x坐标
|
//x坐标
|
||||||
x = ikey;
|
x = ikey;
|
||||||
} else if (phase == 0x72) {
|
} else if (phase == 0x71) {
|
||||||
//y坐标
|
//y坐标
|
||||||
y = ikey;
|
y = ikey;
|
||||||
} else if (phase == 0x73) {
|
} else if (phase == 0x72) {
|
||||||
//车辆角度
|
//车辆角度
|
||||||
angle = ikey;
|
angle = ikey;
|
||||||
} else if (phase == 0x74) {
|
} else if (phase == 0x73) {
|
||||||
//agv电量
|
//agv电量
|
||||||
electric_qty = ikey;
|
electric_qty = ikey;
|
||||||
} else if (phase == 0x75) {
|
} else if (phase == 0x74) {
|
||||||
//三色灯状态
|
//三色灯状态
|
||||||
status = ikey;
|
status = ikey;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -687,19 +687,19 @@ public class AgvNdcTwoDeviceDriver extends AbstractDeviceDriver implements Devic
|
|||||||
}
|
}
|
||||||
data = ndcAgvService.sendAgvTwoModeInst(phase, index, 0);
|
data = ndcAgvService.sendAgvTwoModeInst(phase, index, 0);
|
||||||
last_error = error;
|
last_error = error;
|
||||||
} else if (phase == 0x71) {
|
} else if (phase == 0x70) {
|
||||||
//x坐标
|
//x坐标
|
||||||
x = ikey;
|
x = ikey;
|
||||||
} else if (phase == 0x72) {
|
} else if (phase == 0x71) {
|
||||||
//y坐标
|
//y坐标
|
||||||
y = ikey;
|
y = ikey;
|
||||||
} else if (phase == 0x73) {
|
} else if (phase == 0x72) {
|
||||||
//车辆角度
|
//车辆角度
|
||||||
angle = ikey;
|
angle = ikey;
|
||||||
} else if (phase == 0x74) {
|
} else if (phase == 0x73) {
|
||||||
//agv电量
|
//agv电量
|
||||||
electric_qty = ikey;
|
electric_qty = ikey;
|
||||||
} else if (phase == 0x75) {
|
} else if (phase == 0x74) {
|
||||||
//三色灯状态
|
//三色灯状态
|
||||||
status = ikey;
|
status = ikey;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user