更新
This commit is contained in:
@@ -70,8 +70,8 @@ public class ItemProtocol {
|
||||
ArrayList list = new ArrayList();
|
||||
list.add(new ItemDto(item_status, "AGV状态", "DB602.W0"));
|
||||
list.add(new ItemDto(item_type, "AGV任务类型", "DB602.W2"));
|
||||
list.add(new ItemDto(item_x_coordinate, "AGVx坐标", "DB602.D4"));
|
||||
list.add(new ItemDto(item_y_coordinate, "AGVy坐标", "DB602.D6"));
|
||||
//list.add(new ItemDto(item_x_coordinate, "AGVx坐标", "DB602.D4"));
|
||||
//list.add(new ItemDto(item_y_coordinate, "AGVy坐标", "DB602.D6"));
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
@@ -99,8 +99,8 @@ public class MaGangAgvDeviceDriver extends AbstractOpcDeviceDriver implements De
|
||||
device_code = this.getDeviceCode();
|
||||
status = this.itemProtocol.getStatus();
|
||||
type = this.itemProtocol.getType();
|
||||
x_coordinate = this.itemProtocol.getX_coordinate();
|
||||
y_coordinate = this.itemProtocol.getY_coordinate();
|
||||
//x_coordinate = this.itemProtocol.getX_coordinate();
|
||||
//y_coordinate = this.itemProtocol.getY_coordinate();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ public class MaGangLedDeviceDriver extends AbstractOpcDeviceDriver implements De
|
||||
public void execute() throws Exception {
|
||||
String message = null;
|
||||
device_code = this.getDeviceCode();
|
||||
D01 = this.itemProtocol.getD01();
|
||||
//D01 = this.itemProtocol.getD01();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user