jsk 设备类型
This commit is contained in:
parent
da534ea432
commit
efa1d68443
|
|
@ -85,6 +85,12 @@ public enum DeviceTypeEnum {
|
||||||
OUTER_THIRD_MACHINE(101, "外部第三方设备"),
|
OUTER_THIRD_MACHINE(101, "外部第三方设备"),
|
||||||
CANTEEN_VOICE(102, "收银喇叭(食堂)"),
|
CANTEEN_VOICE(102, "收银喇叭(食堂)"),
|
||||||
MARKET_VOICE(103, "收银喇叭(商超)"),
|
MARKET_VOICE(103, "收银喇叭(商超)"),
|
||||||
|
NOTICE_MACHINE(104, "立式广告机"),
|
||||||
|
CHECK_IN_ONE(105, "晨检一体机"),
|
||||||
|
FOOD_CHECK_MACHINE(106, "食品检测仪"),
|
||||||
|
HEALTH_IN_ONE(107, "健康一体机"),
|
||||||
|
TICKET_PRINTER(108, "小票打印机"),
|
||||||
|
AI_MACHINE(109, "AI算法主机"),
|
||||||
UNKNOW(999, "未知设备");
|
UNKNOW(999, "未知设备");
|
||||||
|
|
||||||
private final Integer key;
|
private final Integer key;
|
||||||
|
|
|
||||||
|
|
@ -315,6 +315,36 @@ public class KitchenDeviceInfoServiceImpl extends ServiceImpl<KitchenDeviceInfoM
|
||||||
vo.setDeviceTypeName(DeviceTypeEnum.SMART_IN_OUT_WEIGHT.getValue());
|
vo.setDeviceTypeName(DeviceTypeEnum.SMART_IN_OUT_WEIGHT.getValue());
|
||||||
list.add(vo);
|
list.add(vo);
|
||||||
|
|
||||||
|
vo=new KitchenDeviceListVO();
|
||||||
|
vo.setDeviceType(DeviceTypeEnum.NOTICE_MACHINE.getKey());
|
||||||
|
vo.setDeviceTypeName(DeviceTypeEnum.NOTICE_MACHINE.getValue());
|
||||||
|
list.add(vo);
|
||||||
|
|
||||||
|
vo=new KitchenDeviceListVO();
|
||||||
|
vo.setDeviceType(DeviceTypeEnum.CHECK_IN_ONE.getKey());
|
||||||
|
vo.setDeviceTypeName(DeviceTypeEnum.CHECK_IN_ONE.getValue());
|
||||||
|
list.add(vo);
|
||||||
|
|
||||||
|
vo=new KitchenDeviceListVO();
|
||||||
|
vo.setDeviceType(DeviceTypeEnum.FOOD_CHECK_MACHINE.getKey());
|
||||||
|
vo.setDeviceTypeName(DeviceTypeEnum.FOOD_CHECK_MACHINE.getValue());
|
||||||
|
list.add(vo);
|
||||||
|
|
||||||
|
vo=new KitchenDeviceListVO();
|
||||||
|
vo.setDeviceType(DeviceTypeEnum.HEALTH_IN_ONE.getKey());
|
||||||
|
vo.setDeviceTypeName(DeviceTypeEnum.HEALTH_IN_ONE.getValue());
|
||||||
|
list.add(vo);
|
||||||
|
|
||||||
|
vo=new KitchenDeviceListVO();
|
||||||
|
vo.setDeviceType(DeviceTypeEnum.TICKET_PRINTER.getKey());
|
||||||
|
vo.setDeviceTypeName(DeviceTypeEnum.TICKET_PRINTER.getValue());
|
||||||
|
list.add(vo);
|
||||||
|
|
||||||
|
vo=new KitchenDeviceListVO();
|
||||||
|
vo.setDeviceType(DeviceTypeEnum.AI_MACHINE.getKey());
|
||||||
|
vo.setDeviceTypeName(DeviceTypeEnum.AI_MACHINE.getValue());
|
||||||
|
list.add(vo);
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue