修改屏蔽门状态;修改滑动门ecs实体构建bug
This commit is contained in:
parent
29711ded19
commit
280219a91a
@ -283,8 +283,16 @@ message LightState {
|
|||||||
// 屏蔽门状态
|
// 屏蔽门状态
|
||||||
message PsdState {
|
message PsdState {
|
||||||
string id = 1; //屏蔽门的id
|
string id = 1; //屏蔽门的id
|
||||||
repeated int32 openAsdCodes = 2; //开启的滑动门的编号
|
repeated AsdState asdStates = 2; //滑动门状态
|
||||||
bool close = 3; //屏蔽门整体的关闭(继电器)状态
|
bool mgj = 3; //屏蔽门整体的关闭(继电器)状态
|
||||||
|
}
|
||||||
|
|
||||||
|
//滑动门状态
|
||||||
|
message AsdState {
|
||||||
|
string code = 1; //滑动门的编号
|
||||||
|
bool kmdw = 2; //开门到位(实际位置)
|
||||||
|
bool gmdw = 3; //关门到位(实际位置)
|
||||||
|
bool mgj = 4; //门关继电器
|
||||||
}
|
}
|
||||||
|
|
||||||
// 钥匙状态
|
// 钥匙状态
|
||||||
|
@ -75,6 +75,11 @@ message Psd {
|
|||||||
ForceKm4 = 7; //强制四编组开门
|
ForceKm4 = 7; //强制四编组开门
|
||||||
ForceKm8 = 8; //强制八编组开门
|
ForceKm8 = 8; //强制八编组开门
|
||||||
ForceGm = 9; //强制关门
|
ForceGm = 9; //强制关门
|
||||||
|
|
||||||
|
AsdCannotOpen = 10; //滑动门无法开门
|
||||||
|
CancelAsdCannotOpen = 11; //取消滑动门无法开门
|
||||||
|
AsdCannotClose = 12; //滑动门无法关闭
|
||||||
|
CancelAsdCannotClose = 13; //取消滑动门无法关闭
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,4 +89,5 @@ message PsdOperationReq {
|
|||||||
int32 mapId = 2; // 图id
|
int32 mapId = 2; // 图id
|
||||||
string deviceId = 3; // 设备id
|
string deviceId = 3; // 设备id
|
||||||
Psd.Operation operation = 4; // 操作
|
Psd.Operation operation = 4; // 操作
|
||||||
|
repeated int32 asdCodes = 5; //无法关闭/无法开启故障涉及的滑动门的编号
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user