【增加电力工务角色】
This commit is contained in:
parent
4d5bc197fd
commit
e3d0169bbe
@ -54,12 +54,12 @@ public class MemberManager {
|
||||
}
|
||||
// 大铁CTC
|
||||
if (simulation.getRepository().getConfig().isRailway()) {
|
||||
// this.addRole(simulation, SimulationMember.Type.RAIL_CTC, null, station);
|
||||
Arrays.asList(
|
||||
SimulationMember.Type.STATION_ASSISTANT, SimulationMember.Type.STATION_MASTER,
|
||||
SimulationMember.Type.STATION_SIGNALER, SimulationMember.Type.STATION_PASSENGER,
|
||||
SimulationMember.Type.STATION_SWITCH_MAN, SimulationMember.Type.STATION_FACILITATOR,
|
||||
SimulationMember.Type.STATION_WORKER, SimulationMember.Type.DEVICE_MANAGER
|
||||
SimulationMember.Type.STATION_WORKER, SimulationMember.Type.DEVICE_MANAGER,
|
||||
SimulationMember.Type.STATION_ELECTRIC_WORKER
|
||||
).forEach(type -> this.addRole(simulation, null, type, null, station));
|
||||
}
|
||||
}
|
||||
|
@ -235,7 +235,10 @@ public class SimulationMember extends club.joylink.rtss.simulation.SimulationMem
|
||||
STATION_WORKER(Area.STATION),
|
||||
/** 设备管理员 */
|
||||
DEVICE_MANAGER(Area.STATION),
|
||||
;
|
||||
/**
|
||||
* 电力工务
|
||||
*/
|
||||
STATION_ELECTRIC_WORKER(Area.STATION);
|
||||
|
||||
private final int area;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user