📄 liftsystem.c
字号:
/* Program generated by Cbasic 2.2.20 */
#define XSCT_CBASIC
#define C_TRANSLATOR_2_2
#define XENABLE_VERSION_CHECK
#include "scttypes.h"
#include "U2ExtraOps.h"
#include "U2ctypes.h"
#include "Interfaces.h"
#include "LiftComponents.h"
#include "LiftManagement.h"
#ifdef XINCLUDE_HS_FILE
#include "LiftSystem.hs"
#endif
XSYSTEMVARS
#ifdef XCTRACE
static char xFileName[] = "LiftSystem.c";
#endif
/*************************************************************************
** SECTION Types and Forward references **
*************************************************************************/
/*****
* SYSTEM LiftSystem
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#3OGR2LayaR5LT0VjLEaulILI|pos(1,8)")
******/
#define ySysR_z_LiftSystem ySysR_system
/*****
* CHANNEL @lifts@P1@liftControllers@P2
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#ZOOZYL7AZeVLbZFW1EBbEopL|pos(1,13)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z0_liftsP1liftControllersP2[];
extern XCONST xIdNode yChaOR_z0_liftsP1liftControllersP2[];
extern XCONST struct xChannelIdStruct yChaR_z0_liftsP1liftControllersP2;
extern XCONST struct xChannelIdStruct yChaRR_z0_liftsP1liftControllersP2;
#define yChaN_z0_liftsP1liftControllersP2 (&yChaR_z0_liftsP1liftControllersP2)
#endif
/*****
* CHANNEL @liftControllers@P3@liftManager@P3
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#JD9K*EP6xSFL0jqb9Ve5k5PE|pos(1,13)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z1_liftControllersP3liftManagerP3[];
extern XCONST xIdNode yChaOR_z1_liftControllersP3liftManagerP3[];
extern XCONST struct xChannelIdStruct yChaR_z1_liftControllersP3liftManagerP3;
extern XCONST struct xChannelIdStruct yChaRR_z1_liftControllersP3liftManagerP3;
#define yChaN_z1_liftControllersP3liftManagerP3 (&yChaR_z1_liftControllersP3liftManagerP3)
#endif
/*****
* CHANNEL @LiftSystem@envPort@liftManager@P1
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#KMfaILW1BZILy6Kk0LTFPaeV|pos(1,13)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z2_LiftSystemenvPortliftManagerP1[];
extern XCONST xIdNode yChaOR_z2_LiftSystemenvPortliftManagerP1[];
extern XCONST struct xChannelIdStruct yChaR_z2_LiftSystemenvPortliftManagerP1;
extern XCONST struct xChannelIdStruct yChaRR_z2_LiftSystemenvPortliftManagerP1;
#define yChaN_z2_LiftSystemenvPortliftManagerP1 (&yChaR_z2_LiftSystemenvPortliftManagerP1)
#ifdef XMULTIPLESYSTEMS
extern XCONST xIdNode yConnIn_LiftSystem_LiftSystemenvPortliftManagerP1[];
extern XCONST xIdNode yConnOut_LiftSystem_LiftSystemenvPortliftManagerP1[];
extern XCONST struct xChannelIdStruct yGateIn_LiftSystem_LiftSystemenvPortliftManagerP1;
extern XCONST struct xChannelIdStruct yGateOut_LiftSystem_LiftSystemenvPortliftManagerP1;
#endif
#endif
/*****
* CHANNEL @LiftSystem@envPort@liftControllers@P1
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#6FAVyVuOYplLKxmjlIGpn*RI|pos(1,13)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z3_LiftSystemenvPortliftControllersP1[];
extern XCONST xIdNode yChaOR_z3_LiftSystemenvPortliftControllersP1[];
extern XCONST struct xChannelIdStruct yChaR_z3_LiftSystemenvPortliftControllersP1;
extern XCONST struct xChannelIdStruct yChaRR_z3_LiftSystemenvPortliftControllersP1;
#define yChaN_z3_LiftSystemenvPortliftControllersP1 (&yChaR_z3_LiftSystemenvPortliftControllersP1)
#ifdef XMULTIPLESYSTEMS
extern XCONST xIdNode yConnIn_LiftSystem_LiftSystemenvPortliftControllersP1[];
extern XCONST xIdNode yConnOut_LiftSystem_LiftSystemenvPortliftControllersP1[];
extern XCONST struct xChannelIdStruct yGateIn_LiftSystem_LiftSystemenvPortliftControllersP1;
extern XCONST struct xChannelIdStruct yGateOut_LiftSystem_LiftSystemenvPortliftControllersP1;
#endif
#endif
/*****
* CHANNEL @LiftSystem@envPort@liftManager@P2
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#kGe8uVUXo-ALTQ-aZVVWqMPL|pos(1,13)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z4_LiftSystemenvPortliftManagerP2[];
extern XCONST xIdNode yChaOR_z4_LiftSystemenvPortliftManagerP2[];
extern XCONST struct xChannelIdStruct yChaR_z4_LiftSystemenvPortliftManagerP2;
extern XCONST struct xChannelIdStruct yChaRR_z4_LiftSystemenvPortliftManagerP2;
#define yChaN_z4_LiftSystemenvPortliftManagerP2 (&yChaR_z4_LiftSystemenvPortliftManagerP2)
#ifdef XMULTIPLESYSTEMS
extern XCONST xIdNode yConnIn_LiftSystem_LiftSystemenvPortliftManagerP2[];
extern XCONST xIdNode yConnOut_LiftSystem_LiftSystemenvPortliftManagerP2[];
extern XCONST struct xChannelIdStruct yGateIn_LiftSystem_LiftSystemenvPortliftManagerP2;
extern XCONST struct xChannelIdStruct yGateOut_LiftSystem_LiftSystemenvPortliftManagerP2;
#endif
#endif
/*****
* PROCESS INST liftManager
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#xiyAsI5NsrILWcX61Eeu*FZE|pos(1,13)")
******/
extern XCONST struct xPrsIdStruct yPrsR_z5_liftManager;
#define yPrsN_z5_liftManager (&yPrsR_z5_liftManager)
#ifndef XOPTCHAN
extern XCONST xIdNode yPrsO_z5_liftManager[];
#endif
/*****
* GATE P1
* <<SYSTEM LiftSystem/PROCESS liftManager>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#RtmxzLZr1lSLuYR6cIyS2QWI|pos(1,14)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z50_P1[];
extern XCONST xIdNode yChaOR_z50_P1[];
extern XCONST struct xChannelIdStruct yChaR_z50_P1;
extern XCONST struct xChannelIdStruct yChaRR_z50_P1;
#define yChaN_z50_P1 (&yChaR_z50_P1)
#endif
/*****
* GATE P2
* <<SYSTEM LiftSystem/PROCESS liftManager>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#6cpOTVviVBCL-aqd2EMb2kDL|pos(1,14)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z51_P2[];
extern XCONST xIdNode yChaOR_z51_P2[];
extern XCONST struct xChannelIdStruct yChaR_z51_P2;
extern XCONST struct xChannelIdStruct yChaRR_z51_P2;
#define yChaN_z51_P2 (&yChaR_z51_P2)
#endif
/*****
* GATE P3
* <<SYSTEM LiftSystem/PROCESS liftManager>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#9kFyYERqDOILKqJjLE*gYBAE|pos(1,14)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z52_P3[];
extern XCONST xIdNode yChaOR_z52_P3[];
extern XCONST struct xChannelIdStruct yChaR_z52_P3;
extern XCONST struct xChannelIdStruct yChaRR_z52_P3;
#define yChaN_z52_P3 (&yChaR_z52_P3)
#endif
/*****
* PROCESS INST liftControllers
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#JyoDrIgiulFLx*s6HVbn0JTE|pos(1,13)")
******/
extern XCONST struct xPrsIdStruct yPrsR_z6_liftControllers;
#define yPrsN_z6_liftControllers (&yPrsR_z6_liftControllers)
#ifndef XOPTCHAN
extern XCONST xIdNode yPrsO_z6_liftControllers[];
#endif
/*****
* GATE P1
* <<SYSTEM LiftSystem/PROCESS liftControllers>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#1XCDdVlXsJSLvRxfQEo52YvI|pos(1,14)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z60_P1[];
extern XCONST xIdNode yChaOR_z60_P1[];
extern XCONST struct xChannelIdStruct yChaR_z60_P1;
extern XCONST struct xChannelIdStruct yChaRR_z60_P1;
#define yChaN_z60_P1 (&yChaR_z60_P1)
#endif
/*****
* GATE P2
* <<SYSTEM LiftSystem/PROCESS liftControllers>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#0kVpgVjrsQeLnPVh9Eu6OeUV|pos(1,14)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z61_P2[];
extern XCONST xIdNode yChaOR_z61_P2[];
extern XCONST struct xChannelIdStruct yChaR_z61_P2;
extern XCONST struct xChannelIdStruct yChaRR_z61_P2;
#define yChaN_z61_P2 (&yChaR_z61_P2)
#endif
/*****
* GATE P3
* <<SYSTEM LiftSystem/PROCESS liftControllers>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#x9*ovLoJvyALreYaMLtUEoaI|pos(1,14)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z62_P3[];
extern XCONST xIdNode yChaOR_z62_P3[];
extern XCONST struct xChannelIdStruct yChaR_z62_P3;
extern XCONST struct xChannelIdStruct yChaRR_z62_P3;
#define yChaN_z62_P3 (&yChaR_z62_P3)
#endif
/*****
* PROCESS INST lifts
* <<SYSTEM LiftSystem>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#6OFoNIVo0TLLI5sYXL-GKVqL|pos(1,13)")
******/
extern XCONST struct xPrsIdStruct yPrsR_z7_lifts;
#define yPrsN_z7_lifts (&yPrsR_z7_lifts)
#ifndef XOPTCHAN
extern XCONST xIdNode yPrsO_z7_lifts[];
#endif
/*****
* GATE P1
* <<SYSTEM LiftSystem/PROCESS lifts>>
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#02EcyLhLkNALBR0bgLPZr8lI|pos(1,14)")
******/
#ifndef XOPTCHAN
extern XCONST xIdNode yChaO_z70_P1[];
extern XCONST xIdNode yChaOR_z70_P1[];
extern XCONST struct xChannelIdStruct yChaR_z70_P1;
extern XCONST struct xChannelIdStruct yChaRR_z70_P1;
#define yChaN_z70_P1 (&yChaR_z70_P1)
#endif
/*************************************************************************
** #CODE directives, #HEADING sections **
*************************************************************************/
/*************************************************************************
** #CODE directives, #BODY sections **
*************************************************************************/
/*************************************************************************
** SECTION Variables and Functions **
*************************************************************************/
/*****
* SYSTEM LiftSystem
* #SDTREF(U2,"u2:F:\UML\LiftManagement20\SystemDesign\LiftManagement.u2#3OGR2LayaR5LT0VjLEaulILI|pos(1,8)")
******/
XCONST struct xSystemIdStruct ySysR_z_LiftSystem = {xSystemEC , (xIdNode)0,
(xIdNode)0, (xIdNode)&xSymbolTableIdRec, "LiftSystem" xIdNumber(0)
XCOMMON_EXTRAS, (xIdNode *)0, (xPrdIdNode *)0, (xSystemIdNode)0 xTrace(-1)
xGRTrace(-1) xMSCETrace(-1) XSYS_EXTRAS};
/*****
* ENV
******/
#ifndef XMULTIPLESYSTEMS
#ifndef XOPTCHAN
xIdNode yEnvO_env[] = {(xIdNode)&yChaR_z2_LiftSystemenvPortliftManagerP1,
(xIdNode)&yChaR_z3_LiftSystemenvPortliftControllersP1,
(xIdNode)&yChaR_z4_LiftSystemenvPortliftManagerP2,
(xIdNode)0 XTRACHANNELLIST};
#endif
#endif
/*****
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -