添加新设备类型
This commit is contained in:
parent
c686a8d23e
commit
813d13d768
|
@ -1,9 +1,8 @@
|
|||
package club.joylink.rtss.constants;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 项目设备类型
|
||||
|
@ -11,80 +10,137 @@ import java.util.List;
|
|||
@Getter
|
||||
public enum ProjectDeviceType {
|
||||
|
||||
/* -----------plc device start---------- */
|
||||
/** 区段 */
|
||||
SECTION,
|
||||
/** 道岔 */
|
||||
SWITCH,
|
||||
/** 信号机 */
|
||||
SIGNAL,
|
||||
/** 屏蔽门控制柜 */
|
||||
PSC,
|
||||
/** 屏蔽门 */
|
||||
PSD,
|
||||
/** 端头控制盒(屏蔽门控制盒) */
|
||||
PSL,
|
||||
/** IBP盘 */
|
||||
IBP,
|
||||
/** PLC网关 */
|
||||
PLC_GATEWAY,
|
||||
/** 单元控制器 */
|
||||
DCU,
|
||||
/** UDP下位机 */
|
||||
UDP_LOW,
|
||||
/** UDP客户端 */
|
||||
UDP_CLIENT,
|
||||
/** 列车 */
|
||||
TRAIN,
|
||||
/* -----------plc device end---------- */
|
||||
/* -----------plc device start---------- */
|
||||
/**
|
||||
* 区段
|
||||
*/
|
||||
SECTION,
|
||||
/**
|
||||
* 道岔
|
||||
*/
|
||||
SWITCH,
|
||||
/**
|
||||
* 信号机
|
||||
*/
|
||||
SIGNAL,
|
||||
/**
|
||||
* 屏蔽门控制柜
|
||||
*/
|
||||
PSC,
|
||||
/**
|
||||
* 屏蔽门
|
||||
*/
|
||||
PSD,
|
||||
/**
|
||||
* 端头控制盒(屏蔽门控制盒)
|
||||
*/
|
||||
PSL,
|
||||
/**
|
||||
* IBP盘
|
||||
*/
|
||||
IBP,
|
||||
/**
|
||||
* PLC网关
|
||||
*/
|
||||
PLC_GATEWAY,
|
||||
/**
|
||||
* 单元控制器
|
||||
*/
|
||||
DCU,
|
||||
/**
|
||||
* UDP下位机
|
||||
*/
|
||||
UDP_LOW,
|
||||
/**
|
||||
* UDP客户端
|
||||
*/
|
||||
UDP_CLIENT,
|
||||
/**
|
||||
* 列车
|
||||
*/
|
||||
TRAIN,
|
||||
/* -----------plc device end---------- */
|
||||
|
||||
/* -----------client device start---------- */
|
||||
/** 教员机(instructor machine) */
|
||||
IM,
|
||||
/** 调度工作站(control workstation) */
|
||||
CW,
|
||||
/** 现地工作站(local workstation) */
|
||||
LW,
|
||||
/** 联锁工作站(interlock workstation) */
|
||||
ILW,
|
||||
/** 虚拟综合后备盘(Integrated Back-Up Panel) */
|
||||
VR_IBP,
|
||||
/** 大屏工作站(large screen workstation) */
|
||||
LSW,
|
||||
/** 列车驾驶终端 */
|
||||
DRIVE,
|
||||
/** 虚拟站台屏蔽门终端 */
|
||||
VR_PSD,
|
||||
/** 现地综合监控 */
|
||||
ISCS_LW,
|
||||
/** 中心综合监控 */
|
||||
ISCS_CW,
|
||||
/** 车辆段终端 */
|
||||
DEPOT,
|
||||
/** 虚拟CCTV */
|
||||
CCTV,
|
||||
/** 虚拟电子沙盘 */
|
||||
SANDBOX,
|
||||
/** 派班工作站 */
|
||||
SCHEDULING,
|
||||
/* -----------client device start---------- */
|
||||
/**
|
||||
* 教员机(instructor machine)
|
||||
*/
|
||||
IM,
|
||||
/**
|
||||
* 调度工作站(control workstation)
|
||||
*/
|
||||
CW,
|
||||
/**
|
||||
* 现地工作站(local workstation)
|
||||
*/
|
||||
LW,
|
||||
/**
|
||||
* 联锁工作站(interlock workstation)
|
||||
*/
|
||||
ILW,
|
||||
/**
|
||||
* 虚拟综合后备盘(Integrated Back-Up Panel)
|
||||
*/
|
||||
VR_IBP,
|
||||
/**
|
||||
* 大屏工作站(large screen workstation)
|
||||
*/
|
||||
LSW,
|
||||
/**
|
||||
* 列车驾驶终端
|
||||
*/
|
||||
DRIVE,
|
||||
/**
|
||||
* 虚拟站台屏蔽门终端
|
||||
*/
|
||||
VR_PSD,
|
||||
/**
|
||||
* 现地综合监控
|
||||
*/
|
||||
ISCS_LW,
|
||||
/**
|
||||
* 中心综合监控
|
||||
*/
|
||||
ISCS_CW,
|
||||
/**
|
||||
* 车辆段终端
|
||||
*/
|
||||
DEPOT,
|
||||
/**
|
||||
* 虚拟CCTV
|
||||
*/
|
||||
CCTV,
|
||||
/**
|
||||
* 虚拟电子沙盘
|
||||
*/
|
||||
SANDBOX,
|
||||
/**
|
||||
* 派班工作站
|
||||
*/
|
||||
SCHEDULING,
|
||||
|
||||
PIS_STAND,
|
||||
PIS_TRAIN,
|
||||
/* -----------client device end---------- */
|
||||
;
|
||||
PIS_STAND,
|
||||
PIS_TRAIN,
|
||||
/* -----------client device end---------- */
|
||||
/* -----------Other start---------- */
|
||||
/**
|
||||
* 沙盘运行计划
|
||||
*/
|
||||
SAND_TABLE_RUN_PLAN;
|
||||
|
||||
public static List<ProjectDeviceType> PlcDeviceList() {
|
||||
return Arrays.asList(PLC_GATEWAY,
|
||||
PSC,
|
||||
PSD,
|
||||
PSL,
|
||||
IBP,
|
||||
SECTION,
|
||||
SWITCH,
|
||||
SIGNAL,
|
||||
DCU,
|
||||
UDP_LOW,
|
||||
UDP_CLIENT,
|
||||
TRAIN);
|
||||
}
|
||||
public static List<ProjectDeviceType> PlcDeviceList() {
|
||||
return Arrays.asList(PLC_GATEWAY,
|
||||
PSC,
|
||||
PSD,
|
||||
PSL,
|
||||
IBP,
|
||||
SECTION,
|
||||
SWITCH,
|
||||
SIGNAL,
|
||||
DCU,
|
||||
UDP_LOW,
|
||||
UDP_CLIENT,
|
||||
TRAIN,
|
||||
SAND_TABLE_RUN_PLAN);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue