📄 liftcomponents.h
字号:
SDL_Boolean z_LiftComponents_1B_pendingRequest;
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#-bIC2V*37vLLn-PcmEkmpI9L|pos(1,13)") */
SDL_Integer z_LiftComponents_1C_numFloor;
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#pUp9FI6f4IiLDt09xLydbruE|pos(1,13)") */
z_Interfaces_U_ptr_Request z_LiftComponents_1D_req1;
z_Interfaces_V_ServiceTime xPrdCallRes1_z_Interfaces_V_ServiceTime;
z_Interfaces_U_ptr_Request xPrdCallRes1_z_Interfaces_U_ptr_Request;
z_Interfaces_P_DoorStatus yDcn_z_Interfaces_P_DoorStatus;
} yVDef_z_LiftComponents_1_LiftController;
typedef yVDef_z_LiftComponents_1_LiftController *yVDP_z_LiftComponents_1_LiftController;
extern void yFree_z_LiftComponents_1_LiftController (void *);
/*****
* PROCEDURE insertRequest
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#As-HBLnmIVBL5OkXQIKzDGeL|pos(1,19)")
******/
YPRD_PROTOTYPE(z_LiftComponents_10_insertRequest)
extern XCONST struct xPrdIdStruct yPrdR_z_LiftComponents_10_insertRequest;
#define yPrdN_z_LiftComponents_10_insertRequest (&yPrdR_z_LiftComponents_10_insertRequest)
#ifdef XBREAKBEFORE
#define ySym_z_LiftComponents_10_insertRequest 2
extern char * yRef_z_LiftComponents_10_insertRequest (int, xSymbolType *);
#endif
typedef struct {
PROCEDURE_VARS
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#gMdIaICSgpvL1uRWyVGhfpLL|pos(1,10)") */
z_Interfaces_U_ptr_Request z_LiftComponents_100_r;
} yVDef_z_LiftComponents_10_insertRequest;
typedef yVDef_z_LiftComponents_10_insertRequest *yVDP_z_LiftComponents_10_insertRequest;
extern void yFree_z_LiftComponents_10_insertRequest (void *);
/*****
* FPAR r
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController/PROCEDURE insertRequest>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#gMdIaICSgpvL1uRWyVGhfpLL|pos(1,10)")
******/
#ifndef XOPTFPAR
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_100_r;
#endif
/*****
* PROCEDURE calculateEffort
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#sHapSIl8ck5LJWof*IQMyL0I|pos(1,19)")
******/
YPRD_PROTOTYPE(z_LiftComponents_11_calculateEffort)
extern XCONST struct xPrdIdStruct yPrdR_z_LiftComponents_11_calculateEffort;
#define yPrdN_z_LiftComponents_11_calculateEffort (&yPrdR_z_LiftComponents_11_calculateEffort)
#ifdef XBREAKBEFORE
#define ySym_z_LiftComponents_11_calculateEffort 1
extern char * yRef_z_LiftComponents_11_calculateEffort (int, xSymbolType *);
#endif
typedef struct {
PROCEDURE_VARS
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#nusKELP4GkLLukikfV8LBZZI|pos(1,10)") */
z_Interfaces_U_ptr_Request z_LiftComponents_110_r;
z_Interfaces_V_ServiceTime *z_LiftComponents_11_ProcedureResult;
} yVDef_z_LiftComponents_11_calculateEffort;
typedef yVDef_z_LiftComponents_11_calculateEffort *yVDP_z_LiftComponents_11_calculateEffort;
extern void yFree_z_LiftComponents_11_calculateEffort (void *);
/*****
* FPAR r
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController/PROCEDURE calculateEffort>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#nusKELP4GkLLukikfV8LBZZI|pos(1,10)")
******/
#ifndef XOPTFPAR
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_110_r;
#endif
/*****
* FPAR procedureresult!
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController/PROCEDURE calculateEffort>>
*
******/
#ifndef XOPTFPAR
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_11_ProcedureResult;
#endif
/*****
* STATE Idle
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#M-JQTE*ozaeLbCsasLNk2vtE|pos(2,15)")
******/
#define z_LiftComponents_12_Idle 1
extern XCONST struct xStateIdStruct yStaR_z_LiftComponents_12_Idle;
#define yStaN_z_LiftComponents_12_Idle (&yStaR_z_LiftComponents_12_Idle)
/*****
* STATE *
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#zueVoIYzxvFLL7NjtELha9PE|pos(3,15)")
******/
extern XCONST struct xStateIdStruct yStaR_z_LiftComponents_13_Asterisk;
#define yStaN_z_LiftComponents_13_Asterisk (&yStaR_z_LiftComponents_13_Asterisk)
/*****
* STATE HandlingRequest
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#coNmLE-sr0BL86wZ2VTJZRKL|pos(2,15)")
******/
#define z_LiftComponents_14_HandlingRequest 2
#ifndef XNOCONTSIGFUNC
extern void yCont_z_LiftComponents_14_HandlingRequest
(void *, int *, xIdNode *, int *);
#endif
extern XCONST struct xStateIdStruct yStaR_z_LiftComponents_14_HandlingRequest;
#define yStaN_z_LiftComponents_14_HandlingRequest (&yStaR_z_LiftComponents_14_HandlingRequest)
/*****
* STATE WaitNotification
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#dG2oNI4waAlLimL7nIMYC5IV|pos(3,15)")
******/
#define z_LiftComponents_15_WaitNotification 3
extern XCONST struct xStateIdStruct yStaR_z_LiftComponents_15_WaitNotification;
#define yStaN_z_LiftComponents_15_WaitNotification (&yStaR_z_LiftComponents_15_WaitNotification)
/*****
* DCL requests
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#I39yWVkAXVCLJ6LY7Vbj5ctV|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_16_requests;
#endif
/*****
* DCL req
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#Bmxm-LVf0NvL1ClZtE7Mp7PV|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_17_req;
#endif
/*****
* DCL currentInfo
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#Qbpc8LoWqXBLIuZWULnmszvV|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_18_currentInfo;
#endif
/*****
* DCL theLift
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#CAS41IeOMYLLY3qdxEL9D5VL|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_19_theLift;
#endif
/*****
* DCL service_time
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#PN2PAEaWk8ILRr49YE77cfVI|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_1A_service_time;
#endif
/*****
* DCL pendingRequest
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#rXLC-L734i0LvUvg4EjHm65E|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_1B_pendingRequest;
#endif
/*****
* DCL numFloor
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#-bIC2V*37vLLn-PcmEkmpI9L|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_1C_numFloor;
#endif
/*****
* DCL req1
* <<PACKAGE LiftComponents/PROCESS TYPE LiftController>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#pUp9FI6f4IiLDt09xLydbruE|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_1D_req1;
#endif
/*****
* PROCESS TYPE Lift
* <<PACKAGE LiftComponents>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#BPatUI6RQSLLpuegLEKiGZaL|pos(1,18)")
******/
extern XCONST struct xPrsIdStruct yPriR_z_LiftComponents_2_Lift;
#define yPriN_z_LiftComponents_2_Lift (&yPriR_z_LiftComponents_2_Lift)
extern XCONST XSIGTYPE yPrsS_z_LiftComponents_2_Lift[];
extern XCONST xStateIdNode yPrsT_z_LiftComponents_2_Lift[];
extern XCONST struct xPrsIdStruct yPrsR_z_LiftComponents_2_Lift;
#define yPrsN_z_LiftComponents_2_Lift (&yPrsR_z_LiftComponents_2_Lift)
#ifdef XCOVERAGE
extern long int yPrsC_z_LiftComponents_2_Lift[];
#endif
YPAD_PROTOTYPE(yPAD_z_LiftComponents_2_Lift)
extern XCONST struct xSignalIdStruct ySigR_z_LiftComponents_2_Lift;
#define ySigN_z_LiftComponents_2_Lift (&ySigR_z_LiftComponents_2_Lift)
typedef struct {
SIGNAL_VARS
STARTUP_VARS
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#U9aXLVoQ8r0LG0GgTI8W7BdV|pos(1,5)") */
SDL_PId Param1;
} ySignalPar_z_LiftComponents_2_Lift;
typedef ySignalPar_z_LiftComponents_2_Lift *yPDP_z_LiftComponents_2_Lift;
XPROCESSDEF_H(Lift,"Lift",z_LiftComponents_2_Lift,yPAD_z_LiftComponents_2_Lift, \
yVDef_z_LiftComponents_2_Lift)
#define yChaE_z_LiftComponents_27_P1 0
#ifdef XBREAKBEFORE
#define ySym_z_LiftComponents_2_Lift 22
extern char * yRef_z_LiftComponents_2_Lift (int, xSymbolType *);
#endif
typedef struct {
PROCESS_VARS
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#U9aXLVoQ8r0LG0GgTI8W7BdV|pos(1,5)") */
SDL_PId z_LiftComponents_20_ctrl;
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#FboWpIyhJc5LFJnXMLaKly-I|pos(1,13)") */
SDL_Integer z_LiftComponents_25_destination;
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#26LIHI1pguvLN1phiIvcfpfE|pos(1,13)") */
z_Interfaces_T_ptr_LiftInfo z_LiftComponents_26_liftInfo;
z_Interfaces_T_ptr_LiftInfo xPrdCallRes1_z_Interfaces_T_ptr_LiftInfo;
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#Qo1pQLItwmBLv-RXTVWV-zsI|pos(1,15)") */
DEF_TIMER_VAR(yTim_floorTimer)
/* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#TLh6mVUVb1ALxJ5fsEg3DX2E|pos(1,15)") */
DEF_TIMER_VAR(yTim_doorTimer)
} yVDef_z_LiftComponents_2_Lift;
typedef yVDef_z_LiftComponents_2_Lift *yVDP_z_LiftComponents_2_Lift;
extern void yFree_z_LiftComponents_2_Lift (void *);
/*****
* FPAR ctrl
* <<PACKAGE LiftComponents/PROCESS TYPE Lift>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#U9aXLVoQ8r0LG0GgTI8W7BdV|pos(1,5)")
******/
#ifndef XOPTFPAR
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_20_ctrl;
#endif
/*****
* STATE Idle
* <<PACKAGE LiftComponents/PROCESS TYPE Lift>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#KBgb-LFv7MILD9FbPIBRMkNE|pos(2,15)")
******/
#define z_LiftComponents_21_Idle 1
#ifndef XNOENABCONDFUNC
extern xInputAction yEnab_z_LiftComponents_21_Idle (XSIGTYPE, void *);
#endif
extern XCONST struct xStateIdStruct yStaR_z_LiftComponents_21_Idle;
#define yStaN_z_LiftComponents_21_Idle (&yStaR_z_LiftComponents_21_Idle)
/*****
* STATE Moving
* <<PACKAGE LiftComponents/PROCESS TYPE Lift>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#UUtciV9m9OeLnAzb0Ex6-bKI|pos(2,15)")
******/
#define z_LiftComponents_22_Moving 2
extern XCONST struct xStateIdStruct yStaR_z_LiftComponents_22_Moving;
#define yStaN_z_LiftComponents_22_Moving (&yStaR_z_LiftComponents_22_Moving)
/*****
* TIMER floorTimer
* <<PACKAGE LiftComponents/PROCESS TYPE Lift>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#Qo1pQLItwmBLv-RXTVWV-zsI|pos(1,15)")
******/
extern XCONST struct xSignalIdStruct ySigR_z_LiftComponents_23_floorTimer;
#define ySigN_z_LiftComponents_23_floorTimer (&ySigR_z_LiftComponents_23_floorTimer)
/*****
* TIMER doorTimer
* <<PACKAGE LiftComponents/PROCESS TYPE Lift>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#TLh6mVUVb1ALxJ5fsEg3DX2E|pos(1,15)")
******/
extern XCONST struct xSignalIdStruct ySigR_z_LiftComponents_24_doorTimer;
#define ySigN_z_LiftComponents_24_doorTimer (&ySigR_z_LiftComponents_24_doorTimer)
/*****
* DCL destination
* <<PACKAGE LiftComponents/PROCESS TYPE Lift>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#FboWpIyhJc5LFJnXMLaKly-I|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_25_destination;
#endif
/*****
* DCL liftInfo
* <<PACKAGE LiftComponents/PROCESS TYPE Lift>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#26LIHI1pguvLN1phiIvcfpfE|pos(1,13)")
******/
#ifndef XOPTDCL
extern XCONST struct xVarIdStruct yVarR_z_LiftComponents_26_liftInfo;
#endif
/*************************************************************************
** #CODE directives, #HEADING sections **
*************************************************************************/
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -