📄 liftsystem.hs
字号:
#ifndef XHS
#ifndef XHS_START
#define XHS_START 0
#endif
/*--------------------------- Signal numbers ----------------------------*/
#ifndef requestLift
#define requestLift XHS_START+1
#endif
#ifndef addLift
#define addLift XHS_START+2
#endif
#ifndef gotoFloor
#define gotoFloor XHS_START+3
#endif
#ifndef directionLight
#define directionLight XHS_START+4
#endif
#ifndef confirmAdd
#define confirmAdd XHS_START+5
#endif
#ifndef floorLight
#define floorLight XHS_START+6
#endif
#ifndef notify
#define notify XHS_START+7
#endif
#ifndef associate
#define associate XHS_START+8
#endif
#ifndef moveToFloor
#define moveToFloor XHS_START+9
#endif
#ifndef serviceTime
#define serviceTime XHS_START+10
#endif
#ifndef requestServiceTime
#define requestServiceTime XHS_START+11
#endif
#ifndef handleRequest
#define handleRequest XHS_START+12
#endif
#ifndef floorTimer
#define floorTimer XHS_START+13
#endif
#ifndef doorTimer
#define doorTimer XHS_START+14
#endif
/*---------------------------- Process data -----------------------------*/
#ifndef liftManager_TIME
#define liftManager_TIME 0
#endif
#ifndef liftManager_STACKSIZE
#define liftManager_STACKSIZE 1024
#endif
#ifndef liftControllers_TIME
#define liftControllers_TIME 0
#endif
#ifndef liftControllers_STACKSIZE
#define liftControllers_STACKSIZE 1024
#endif
#ifndef lifts_TIME
#define lifts_TIME 0
#endif
#ifndef lifts_STACKSIZE
#define lifts_STACKSIZE 1024
#endif
#endif
/* XHS */
#ifdef XHS
#define XXHS \#include "LiftSystem.hs"
XXHS
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -