模拟设备状态变更接口
This commit is contained in:
parent
07fc2194bc
commit
e760eaf8f1
@ -1,6 +1,7 @@
|
||||
package club.joylink.xiannccda.mock.message;
|
||||
|
||||
import club.joylink.xiannccda.ats.message.line3.device.DeviceType;
|
||||
import club.joylink.xiannccda.dto.protos.DeviceStatusProto.Track.LimitType;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
@ -107,6 +108,7 @@ public class Status {
|
||||
Boolean ipSingleSwitchStusTsrBmReverse;
|
||||
Boolean ipSingleSwitchStusBlocked2;
|
||||
Boolean ipSingleSwitchStusLostIndication;
|
||||
Integer speedLimit;
|
||||
private String id;
|
||||
}
|
||||
|
||||
@ -124,6 +126,16 @@ public class Status {
|
||||
Boolean atcInvalid;
|
||||
Boolean overlap;
|
||||
Boolean blocked;
|
||||
Integer speedLimit = 13;
|
||||
//限速类型
|
||||
@Schema(description = "限速类型 Unknown = 0;\n"
|
||||
+ " //为1时,CBTC限速\n"
|
||||
+ " Cbtc = 1;\n"
|
||||
+ " //为2时,联锁限速;\n"
|
||||
+ " Interlock = 2;\n"
|
||||
+ " //为4时,同时限速。\n"
|
||||
+ " CbtcInterlock = 4;")
|
||||
Integer limitType = 14;
|
||||
private String id;
|
||||
}
|
||||
|
||||
@ -143,6 +155,10 @@ public class Status {
|
||||
Boolean downSkipstop;
|
||||
Boolean upTrainSkipstop;
|
||||
Boolean downTrainSkipstop;
|
||||
|
||||
Integer nextSectionRunTime;
|
||||
Integer nextSectionRunLevel;
|
||||
Integer stopTime;
|
||||
private String id;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user