|
|
@ -369,46 +369,46 @@ public class ItemProtocol { |
|
|
|
|
|
|
|
public static List<ItemDto> getReadableItemDtos() { |
|
|
|
ArrayList list = new ArrayList(); |
|
|
|
list.add(new ItemDto(item_heartbeat, "心跳", "DB600.B0")); |
|
|
|
list.add(new ItemDto(item_mode, "工作模式", "DB600.B2", Boolean.valueOf(true))); |
|
|
|
list.add(new ItemDto(item_error, "故障信号", "DB600.B3")); |
|
|
|
list.add(new ItemDto(item_order, "当前执行工单号", "DB600.D4")); |
|
|
|
list.add(new ItemDto(item_order_detail, "当前工单明细号", "DB600.D8")); |
|
|
|
list.add(new ItemDto(item_last_order_detail, "上次完成工单明细号", "DB600.D12")); |
|
|
|
list.add(new ItemDto(item_order_feeding_qty, "当前工单上料数量", "DB600.D16")); |
|
|
|
list.add(new ItemDto(item_detail_feeding_qty, "当前工单明细号上料数量", "DB600.D20")); |
|
|
|
list.add(new ItemDto(item_detail_feeding_qualified_qty, "当前工单明细号上料合格数量", "DB600.D120")); |
|
|
|
list.add(new ItemDto(item_detail_lettering_qty, "当前工单明细号刻字数量", "DB600.D24")); |
|
|
|
list.add(new ItemDto(item_detail_lettering_qualified_qty, "当前工单明细号刻字合格数量", "DB600.D28")); |
|
|
|
list.add(new ItemDto(item_detail_risking_qualified_qty, "当前工单明细号套冒合格数", "DB600.D32")); |
|
|
|
list.add(new ItemDto(item_detail_risking_qty, "当前工单明细号套冒数", "DB600.D36")); |
|
|
|
list.add(new ItemDto(item_detail_strapping_qty, "当前工单明细号捆扎包数", "DB600.D40")); |
|
|
|
list.add(new ItemDto(item_detail_strapping_oneqty, "当前工单明细号捆扎根数", "DB600.D44")); |
|
|
|
list.add(new ItemDto(item_detail_coating_qty, "当前工单明细号裹膜数", "DB600.D48")); |
|
|
|
list.add(new ItemDto(item_labeling_order, "当前贴标工单明细号", "DB600.D52")); |
|
|
|
list.add(new ItemDto(item_detail_labeling_qualified_qty, "当前工单明细号刻字数量", "DB600.D56")); |
|
|
|
list.add(new ItemDto(item_detail_labeling_qty, "当前贴标工单明细号贴标数", "DB600.D60")); |
|
|
|
list.add(new ItemDto(item_ready, "设备就绪", "DB600.D64")); |
|
|
|
list.add(new ItemDto( item_clear, "清料", "DB600.D68")); |
|
|
|
list.add(new ItemDto( item_pause, "暂停", "DB600.D72")); |
|
|
|
list.add(new ItemDto(item_line_speed, "线体速度", "DB600.REAL76")); |
|
|
|
list.add(new ItemDto(item_feeding_mouth, "上料口", "DB600.D80")); |
|
|
|
list.add(new ItemDto(item_is_lettering, "是否刻字", "DB600.D84")); |
|
|
|
list.add(new ItemDto(item_is_risking, "是否套冒", "DB600.D88")); |
|
|
|
list.add(new ItemDto(item_is_coating, "是否裹膜", "DB600.D92")); |
|
|
|
list.add(new ItemDto(item_is_strapping, "是否捆扎", "DB600.D96")); |
|
|
|
list.add(new ItemDto(item_is_labeling, "是否贴标", "DB600.D100")); |
|
|
|
list.add(new ItemDto(item_delay_time, "工段动作延时", "DB600.D104")); |
|
|
|
list.add(new ItemDto(item_lettering_frequency, "刻字频率", "DB600.D108")); |
|
|
|
list.add(new ItemDto(item_one_speed, "捆扎裹膜贴标段输送速度", "DB600.REAL112")); |
|
|
|
list.add(new ItemDto(item_coating_frequency, "裹膜机频率", "DB600.D116")); |
|
|
|
list.add(new ItemDto(item_heartbeat, "心跳", "DB600.W0")); |
|
|
|
list.add(new ItemDto(item_mode, "工作模式", "DB600.W2", Boolean.valueOf(true))); |
|
|
|
list.add(new ItemDto(item_error, "故障信号", "DB600.W4")); |
|
|
|
list.add(new ItemDto(item_order, "当前执行工单号", "DB600.D6")); |
|
|
|
list.add(new ItemDto(item_order_detail, "当前工单明细号", "DB600.D10")); |
|
|
|
list.add(new ItemDto(item_last_order_detail, "上次完成工单明细号", "DB600.D14")); |
|
|
|
list.add(new ItemDto(item_order_feeding_qty, "当前工单上料数量", "DB600.D18")); |
|
|
|
list.add(new ItemDto(item_detail_feeding_qty, "当前工单明细号上料数量", "DB600.D22")); |
|
|
|
list.add(new ItemDto(item_detail_feeding_qualified_qty, "当前工单明细号上料合格数量", "DB600.D122")); |
|
|
|
list.add(new ItemDto(item_detail_lettering_qty, "当前工单明细号刻字数量", "DB600.D26")); |
|
|
|
list.add(new ItemDto(item_detail_lettering_qualified_qty, "当前工单明细号刻字合格数量", "DB600.D30")); |
|
|
|
list.add(new ItemDto(item_detail_risking_qualified_qty, "当前工单明细号套冒合格数", "DB600.D34")); |
|
|
|
list.add(new ItemDto(item_detail_risking_qty, "当前工单明细号套冒数", "DB600.D38")); |
|
|
|
list.add(new ItemDto(item_detail_strapping_qty, "当前工单明细号捆扎包数", "DB600.D42")); |
|
|
|
list.add(new ItemDto(item_detail_strapping_oneqty, "当前工单明细号捆扎根数", "DB600.D46")); |
|
|
|
list.add(new ItemDto(item_detail_coating_qty, "当前工单明细号裹膜数", "DB600.D50")); |
|
|
|
list.add(new ItemDto(item_labeling_order, "当前贴标工单明细号", "DB600.D54")); |
|
|
|
list.add(new ItemDto(item_detail_labeling_qualified_qty, "当前工单明细号刻字数量", "DB600.D58")); |
|
|
|
list.add(new ItemDto(item_detail_labeling_qty, "当前贴标工单明细号贴标数", "DB600.D62")); |
|
|
|
list.add(new ItemDto(item_ready, "设备就绪", "DB600.D66")); |
|
|
|
list.add(new ItemDto( item_clear, "清料", "DB600.D70")); |
|
|
|
list.add(new ItemDto( item_pause, "暂停", "DB600.D74")); |
|
|
|
list.add(new ItemDto(item_line_speed, "线体速度", "DB600.REAL78")); |
|
|
|
list.add(new ItemDto(item_feeding_mouth, "上料口", "DB600.D82")); |
|
|
|
list.add(new ItemDto(item_is_lettering, "是否刻字", "DB600.D86")); |
|
|
|
list.add(new ItemDto(item_is_risking, "是否套冒", "DB600.D90")); |
|
|
|
list.add(new ItemDto(item_is_coating, "是否裹膜", "DB600.D94")); |
|
|
|
list.add(new ItemDto(item_is_strapping, "是否捆扎", "DB600.D98")); |
|
|
|
list.add(new ItemDto(item_is_labeling, "是否贴标", "DB600.D102")); |
|
|
|
list.add(new ItemDto(item_delay_time, "工段动作延时", "DB600.D106")); |
|
|
|
list.add(new ItemDto(item_lettering_frequency, "刻字频率", "DB600.D110")); |
|
|
|
list.add(new ItemDto(item_one_speed, "捆扎裹膜贴标段输送速度", "DB600.REAL114")); |
|
|
|
list.add(new ItemDto(item_coating_frequency, "裹膜机频率", "DB600.D118")); |
|
|
|
|
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|
public static List<ItemDto> getWriteableItemDtos() { |
|
|
|
ArrayList list = new ArrayList(); |
|
|
|
list.add(new ItemDto(item_to_heartbeat, "心跳", "DB610.B0")); |
|
|
|
list.add(new ItemDto(item_to_heartbeat, "心跳", "DB610.W0")); |
|
|
|
list.add(new ItemDto(item_to_order, "工单号", "DB610.D2")); |
|
|
|
list.add(new ItemDto(item_to_order_detail, "工单明细号", "DB610.D6")); |
|
|
|
list.add(new ItemDto(item_to_order_feeding_qty, "工单上料总数量", "DB610.D10")); |
|
|
|