📄 interfaces.ifc
字号:
/* Program generated by Cbasic 2.2.20 */
#define XSCT_CBASIC
#ifndef X_IFC_z_Interfaces__Interfaces
#define X_IFC_z_Interfaces__Interfaces
/* *************** DECLARATIONS IN PACKAGE Interfaces *************** */
/*------------------------- INCLUDE FILES -------------------------*/
#include "U2ExtraOps.ifc"
#include "U2ctypes.ifc"
/*--------------------------- SYNONYMS ----------------------------*/
#define z_Interfaces_W_MAX_TIME 999
#define MAX_TIME 999
/*---------------------------- SORTS ------------------------------*/
/*****
* NEWTYPE DirectionKind (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#SYr87V03pvILCOkZSIpjEOAE|pos(1,13)")
******/
extern tSDLEnumInfo ySDL_z_Interfaces_O_DirectionKind;
#define ySDL_DirectionKind ySDL_z_Interfaces_O_DirectionKind
typedef XENUM_TYPE z_Interfaces_O_DirectionKind;
#define z_Interfaces_O0_up 0
#define z_Interfaces_O1_down 1
#ifndef XNO_ENUM_VALUES_IN_IFC
#define up 0
#define down 1
#endif
#define DirectionKind z_Interfaces_O_DirectionKind
/*****
* NEWTYPE DoorStatus (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#T5RnfL50vNELCOkkgEZtOcEL|pos(1,13)")
******/
extern tSDLEnumInfo ySDL_z_Interfaces_P_DoorStatus;
#define ySDL_DoorStatus ySDL_z_Interfaces_P_DoorStatus
typedef XENUM_TYPE z_Interfaces_P_DoorStatus;
#define z_Interfaces_P0_open 0
#define z_Interfaces_P1_closed 1
#ifndef XNO_ENUM_VALUES_IN_IFC
#define open 0
#define closed 1
#endif
#define DoorStatus z_Interfaces_P_DoorStatus
/*****
* SYNTYPE ServiceTime (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#Ga4IhVn-zsVLrTmatLJPeoJE|pos(1,13)")
******/
extern tSDLGenInfo ySDL_z_Interfaces_V_ServiceTime;
#define ySDL_ServiceTime ySDL_z_Interfaces_V_ServiceTime
typedef SDL_Integer z_Interfaces_V_ServiceTime;
#define ServiceTime z_Interfaces_V_ServiceTime
/*****
* NEWTYPE @ptr_LiftInfo (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#wL2KUVZy-jiLcbOhPEnpl2AE|pos(1,13)")
******/
extern tSDLGenInfo ySDL_z_Interfaces_T_ptr_LiftInfo;
#define ySDL_ptr_LiftInfo ySDL_z_Interfaces_T_ptr_LiftInfo
typedef struct z_Interfaces_N_LiftInfo_s *z_Interfaces_T_ptr_LiftInfo;
#define ptr_LiftInfo z_Interfaces_T_ptr_LiftInfo
/*****
* NEWTYPE @ptr_Request (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#IMptNVSqh-5LL2ibAVpdV-RL|pos(1,13)")
******/
extern tSDLGenInfo ySDL_z_Interfaces_U_ptr_Request;
#define ySDL_ptr_Request ySDL_z_Interfaces_U_ptr_Request
typedef struct z_Interfaces_M_Request_s *z_Interfaces_U_ptr_Request;
#define ptr_Request z_Interfaces_U_ptr_Request
/*****
* NEWTYPE Request (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#IMptNVSqh-5LL2ibAVpdV-RL|pos(1,13)")
******/
extern tSDLStructInfo ySDL_z_Interfaces_M_Request;
#define ySDL_Request ySDL_z_Interfaces_M_Request
typedef struct z_Interfaces_M_Request_s {
z_Interfaces_O_DirectionKind direction;
SDL_Integer targetFloor;
} z_Interfaces_M_Request;
#define Request z_Interfaces_M_Request
/*****
* NEWTYPE LiftInfo (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#wL2KUVZy-jiLcbOhPEnpl2AE|pos(1,13)")
******/
extern tSDLStructInfo ySDL_z_Interfaces_N_LiftInfo;
#define ySDL_LiftInfo ySDL_z_Interfaces_N_LiftInfo
typedef struct z_Interfaces_N_LiftInfo_s {
SDL_Integer currentFloor;
z_Interfaces_P_DoorStatus doorStatus;
SDL_Boolean isMoving;
z_Interfaces_O_DirectionKind direction;
} z_Interfaces_N_LiftInfo;
#define LiftInfo z_Interfaces_N_LiftInfo
/*****
* NEWTYPE @AK@Reference@RequestList (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#Sa128EJ0V1VLMJYW-EtKYGzE|pos(1,13)")
******/
extern tSDLGenListInfo ySDL_z_Interfaces_Q_AKReferenceRequestList;
#define ySDL_AKReferenceRequestList ySDL_z_Interfaces_Q_AKReferenceRequestList
typedef struct z_Interfaces_Q_AKReferenceRequestList_ystruct *z_Interfaces_Q_AKReferenceRequestList_yptr;
typedef struct z_Interfaces_Q_AKReferenceRequestList_ystruct {
z_Interfaces_Q_AKReferenceRequestList_yptr Suc;
z_Interfaces_U_ptr_Request Data;
} z_Interfaces_Q_AKReferenceRequestList_yrec;
typedef struct {
z_Interfaces_Q_AKReferenceRequestList_yptr First;
z_Interfaces_Q_AKReferenceRequestList_yptr Last;
int Length;
int IsAssigned;
} z_Interfaces_Q_AKReferenceRequestList;
#define AKReferenceRequestList_yrec z_Interfaces_Q_AKReferenceRequestList_yrec
#define AKReferenceRequestList z_Interfaces_Q_AKReferenceRequestList
/*****
* NEWTYPE @String_ptr_LiftInfo (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#wL2KUVZy-jiLcbOhPEnpl2AE|pos(1,13)")
******/
extern tSDLGenListInfo ySDL_z_Interfaces_R_String_ptr_LiftInfo;
#define ySDL_String_ptr_LiftInfo ySDL_z_Interfaces_R_String_ptr_LiftInfo
typedef struct z_Interfaces_R_String_ptr_LiftInfo_ystruct *z_Interfaces_R_String_ptr_LiftInfo_yptr;
typedef struct z_Interfaces_R_String_ptr_LiftInfo_ystruct {
z_Interfaces_R_String_ptr_LiftInfo_yptr Suc;
z_Interfaces_T_ptr_LiftInfo Data;
} z_Interfaces_R_String_ptr_LiftInfo_yrec;
typedef struct {
z_Interfaces_R_String_ptr_LiftInfo_yptr First;
z_Interfaces_R_String_ptr_LiftInfo_yptr Last;
int Length;
int IsAssigned;
} z_Interfaces_R_String_ptr_LiftInfo;
#define String_ptr_LiftInfo_yrec z_Interfaces_R_String_ptr_LiftInfo_yrec
#define String_ptr_LiftInfo z_Interfaces_R_String_ptr_LiftInfo
/*****
* NEWTYPE @String_ptr_Request (TYPE section)
* <<PACKAGE Interfaces>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#IMptNVSqh-5LL2ibAVpdV-RL|pos(1,13)")
******/
extern tSDLGenListInfo ySDL_z_Interfaces_S_String_ptr_Request;
#define ySDL_String_ptr_Request ySDL_z_Interfaces_S_String_ptr_Request
typedef struct z_Interfaces_S_String_ptr_Request_ystruct *z_Interfaces_S_String_ptr_Request_yptr;
typedef struct z_Interfaces_S_String_ptr_Request_ystruct {
z_Interfaces_S_String_ptr_Request_yptr Suc;
z_Interfaces_U_ptr_Request Data;
} z_Interfaces_S_String_ptr_Request_yrec;
typedef struct {
z_Interfaces_S_String_ptr_Request_yptr First;
z_Interfaces_S_String_ptr_Request_yptr Last;
int Length;
int IsAssigned;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -