| 12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef OCC_EQMPTSTATUS_DEFINE_HEADER_FILE
- #define OCC_EQMPTSTATUS_DEFINE_HEADER_FILE
- /***************************道岔相关状态**************************************/
- //道岔位置
- #define FORK_POSITION_UNKNOW 27 //道岔位置未知
- #define FORK_POSITION_NORMAL 28 //道岔定位
- #define FORK_POSITION_REVERSE 29 //道岔反位
- //道岔锁闭
- #define FORK_LOCKSTATUS_YES 30 //道岔锁闭
- #define FORK_LOCKSTATUS_NO 31 //道岔解锁闭
- //道岔封锁状态
- #define FORK_BLOCKLOCKSTATUS_YES 40 //道岔封锁
- #define FORK_BLOCKLOCKSTATUS_NO 41 //道岔解封
- //道岔单锁状态
- #define FORK_SIGNALLOCKSTATUS_YES 9 //道岔单锁
- #define FORK_SIGNALLOCKSTATUS_NO 8 //道岔单解
- //道岔故障状态
- #define FORK_FAULTSTATUS_NORMAL 9000 //道岔正常,无故障
- #define FORK_FAULTSTATUS_FAULT1 9001 //道岔故障1
- #define FORK_FAULTSTATUS_FAULT2 9002 //道岔故障2
- #define FORK_FAULTSTATUS_MISSDENOTATION 9003 //道岔失表
- //道岔操作请求
- #define FORK_POSITIONG_REQUEST_NO 5 //没有位置请求
- #define FORK_SINGLELOCK_REQUEST_NO 2005 //没有单锁请求
- //道岔使能装填
- #define FORK_ENABLESTATUS_OPEN 2009 //使能打开
- #define FORK_ENABLESTATUS_CLOSE 2010 //使能关闭
- #endif
|