⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accesslibrary.c

📁 该文件描述了话音拨号呼叫过程中对于数据库的查询控制
💻 C
📖 第 1 页 / 共 5 页
字号:
  xPrsPrioPar(xDefaultPrioProcess), (XPRSNODE *)0 xTrace(-1) xGRTrace(-1)
  xBreakB(yRef_z_AccessLibrary_N_PanelController)
  xBreakB(ySym_z_AccessLibrary_N_PanelController) xBreakB(10) xMSCETrace(-1)
  xCoverage(yPrsC_z_AccessLibrary_N_PanelController) xCoverage(0) xCoverage(0),
  yPAD_z_AccessLibrary_N_PanelController,
  yFree_z_AccessLibrary_N_PanelController, (xPrsIdNode)0, (xPrdIdNode *)0,
  (xBlockIdNode)0
  xBreakB("#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt,4,1)")
  XPRS_EXTRAS(z_AccessLibrary_N_PanelController)};
#ifndef XNOSTARTUPIDNODE
static xSignalNode ySigA_z_AccessLibrary_N_PanelController = (xSignalNode)0;
XCONST struct xSignalIdStruct ySigR_z_AccessLibrary_N_PanelController =
  {xStartUpSignalEC xSymbTLink((xIdNode)0, (xIdNode)0),
  (xIdNode)&yPacR_z_AccessLibrary__AccessLibrary xIdNames("-") XCOMMON_EXTRAS,
  (xptrint)sizeof(yPDef_z_AccessLibrary_N_PanelController),
  &ySigA_z_AccessLibrary_N_PanelController, 0 xFreS(0) SIGCODE(STARTUPSIGNAL)
  xBreakB("#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt,4,1)")
  xSigPrioPar(xDefaultPrioSignal) XSIG_EXTRAS};
#endif
XPROCESSDEF_C(PanelController,
  "PanelController",z_AccessLibrary_N_PanelController,
  yPAD_z_AccessLibrary_N_PanelController,
  yVDef_z_AccessLibrary_N_PanelController)

#ifndef XNOPROTO
void yFree_z_AccessLibrary_N_PanelController(void *yVarP)
#else
void yFree_z_AccessLibrary_N_PanelController(yVarP)
  void *yVarP;
#endif
{
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NJ_CardData);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NI_IllegalDoor);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NH_SelectDoor);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NG_DoorOpened);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NF_Registered);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NE_RegisterCard);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_ND_WrongInput);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NC_PleaseWait);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NB_Timeout);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_NA_EnterCode);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_N9_InsertCard);
  xFree_SDL_Charstring((void **)&((yVDef_z_AccessLibrary_N_PanelController *)yVarP)->z_AccessLibrary_N8_InsertMain);
}

/*+++++
* GR ref function for process PanelController
* #SDTREF(SDL,D:\TelelogicTau36\examples\courseenv\simccode\ACCESS\PanelController.spt,4,1)
++++++*/
#ifdef XBREAKBEFORE
#ifndef XNOPROTO
extern char * yRef_z_AccessLibrary_N_PanelController (int SymbolNo, xSymbolType *SymbolType)
#else
extern char * yRef_z_AccessLibrary_N_PanelController (SymbolNo, SymbolType)
  int SymbolNo;
  xSymbolType *SymbolType;
#endif
{
  switch (SymbolNo) {
    case 0: *SymbolType = xsStart;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),116(40,20),1)";
    case 1: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1673(45,105),1)";
    case 2: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1619(105,40),1)";
    case 3: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1397(40,35),1)";
    case 4: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),887(80,35),1)";
    case 5: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),896(115,35),1)";
    case 6: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),908(150,35),1)";
    case 7: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1835(15,50),1)";
    case 8: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1880(45,50),1)";
    case 9: *SymbolType = xsInput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1850(85,50),1)";
    case 10: *SymbolType = xsDecision;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1649(95,85),1,1)";
    case 11: *SymbolType = xsDecision;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1706(30,80),1,1)";
    case 12: *SymbolType = xsAssignmentStatement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),1,1)";
    case 13: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),2,1)";
    case 14: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),3,1)";
    case 15: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),4,1)";
    case 16: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),5,1)";
    case 17: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),6,1)";
    case 18: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),7,1)";
    case 19: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),8,1)";
    case 20: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),9,1)";
    case 21: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),10,1)";
    case 22: *SymbolType = xsAssignment2Statement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),11,1)";
    case 23: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1670(40,85),1)";
    case 24: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1685(45,120),1,1)";
    case 25: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1643(45,135),1)";
    case 26: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1622(105,55),1,1)";
    case 27: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1628(105,70),1,1)";
    case 28: *SymbolType = xsValueReturningProcedureCall;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1649(95,85),1,1)";
    case 29: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),158(80,115),1,1)";
    case 30: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),161(80,130),1,1)";
    case 31: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1661(80,145),1,1)";
    case 32: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),167(80,160),1)";
    case 33: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1574(135,115),1,1)";
    case 34: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1580(135,130),1,1)";
    case 35: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1586(135,145),1,1)";
    case 36: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(Start_Idle_WaitKeyStroke),1592(135,160),1)";
    case 37: *SymbolType = xsReset;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1694(40,50),1,1)";
    case 38: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1700(40,65),1,1)";
    case 39: *SymbolType = xsValueReturningProcedureCall;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1706(30,80),1,1)";
    case 40: *SymbolType = xsAssignmentStatement;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1757(55,105),1,1)";
    case 41: *SymbolType = xsDecision;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1745(60,125),1,1)";
    case 42: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1751(45,140),1,1)";
    case 43: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1763(45,155),1,1)";
    case 44: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1769(45,170),1,1)";
    case 45: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1778(45,185),1)";
    case 46: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1784(75,140),1,1)";
    case 47: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1802(75,155),1,1)";
    case 48: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1808(75,170),1,1)";
    case 49: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1814(75,185),1)";
    case 50: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1712(20,110),1,1)";
    case 51: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1736(20,125),1,1)";
    case 52: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1718(20,140),1,1)";
    case 53: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1724(20,155),1)";
    case 54: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1145(80,50),1,1)";
    case 55: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1391(80,65),1,1)";
    case 56: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1151(80,80),1)";
    case 57: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1175(115,50),1,1)";
    case 58: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1178(115,65),1,1)";
    case 59: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),1181(115,80),1)";
    case 60: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),914(150,50),1,1)";
    case 61: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOK),917(150,65),1)";
    case 62: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1838(15,65),1,1)";
    case 63: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1841(15,80),1,1)";
    case 64: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1844(15,95),1)";
    case 65: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1886(45,65),1,1)";
    case 66: *SymbolType = xsSet;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1889(45,80),1,1)";
    case 67: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1892(45,95),1)";
    case 68: *SymbolType = xsOutput;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1853(85,65),1,1)";
    case 69: *SymbolType = xsNextstate;
      return "#SDTREF(SDL,D:\\TelelogicTau36\\examples\\courseenv\\simccode\\ACCESS\\PanelController.spt(WaitOpened_WaitDisplay),1856(85,80),1)";
    default : *SymbolType = xsNoSuchSymbolType; return "";
  }
}
#endif

/*+++++
* Function for process PanelController
* #SDTREF(SDL,D:\TelelogicTau36\examples\courseenv\simccode\ACCESS\PanelController.spt,4,1)
++++++*/
YPAD_FUNCTION(yPAD_z_AccessLibrary_N_PanelController)
{
  YPAD_YSVARP
  YPAD_YVARP(yVDef_z_AccessLibrary_N_PanelController)
  YPAD_TEMP_VARS
  SDL_Integer yDcn_SDL_Integer;
#ifndef XOPTCHAN
  xIdNode  yViaList[2];
#endif
  YPRSNAME_VAR("PanelController")

  BEGIN_PAD(yVDef_z_AccessLibrary_N_PanelController)
#ifndef XNOPROCATSTARTUP
  while (yVarP->ActivePrd != (xPrdNode)0 ) {
    CALL_PROCEDURE_STARTUP
#ifdef XBREAKBEFORE
    if (yVarP->ActivePrd != (xPrdNode)0 ) {
      XBETWEEN_SYMBOLS(yVarP->ActivePrd->RestartAddress, 816)
    } else {
      XBETWEEN_SYMBOLS(yVarP->RestartAddress, 818)
    }
#endif
  }
#endif

  LOOP_LABEL
  switch (yVarP->RestartAddress) {

/*-----
* START
* #SDTREF(SDL,D:\TelelogicTau36\examples\courseenv\simccode\ACCESS\PanelController.spt(Start_Idle_WaitKeyStroke),116(40,20),1)
------*/
  case 0:
    BEGIN_START_TRANSITION(yPDef_z_AccessLibrary_N_PanelController)
    XAT_FIRST_SYMBOL(0)
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_N8_InsertMain);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_N9_InsertCard);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NA_EnterCode);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NB_Timeout);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NC_PleaseWait);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_ND_WrongInput);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NE_RegisterCard);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NF_Registered);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NG_DoorOpened);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NH_SelectDoor);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NI_IllegalDoor);
    xDef_SDL_Charstring(&yVarP->z_AccessLibrary_NJ_CardData);
    yDef_z_AccessLibrary_F_KeyArrayType(&yVarP->z_AccessLibrary_NK_KeyData);
    xDef_SDL_Integer(&yVarP->z_AccessLibrary_NL_DoorNo);
    INIT_TIMER_VAR(yTim_PanelTimer)
    INIT_TIMER_VAR(yTim_KeyTimer)
    XBETWEEN_SYMBOLS(12, 850)

/*-----
* ASSIGNMENT InsertMain := ...
* #SDTREF(SDL,D:\TelelogicTau36\examples\courseenv\simccode\ACCESS\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),1,1)
------*/
#ifdef XCASELABELS
  case 12:
#endif
    yAssF_SDL_Charstring(yVarP->z_AccessLibrary_N8_InsertMain,
      SDL_CHARSTRING_LIT("LInsert main", "Insert main"), XASS_MR_ASS_FR);
#ifdef XTRACE
    xTraceAssign("InsertMain := ", &(yVarP->z_AccessLibrary_N8_InsertMain),
      xSrtN_SDL_Charstring);
#endif
#ifdef XMSCE
    xMSCEAssign("InsertMain := ", &(yVarP->z_AccessLibrary_N8_InsertMain),
      xSrtN_SDL_Charstring);
#endif
    XBETWEEN_STMTS(13, 869)

/*-----
* ASSIGNMENT InsertCard := ...
* #SDTREF(SDL,D:\TelelogicTau36\examples\courseenv\simccode\ACCESS\PanelController.spt(Start_Idle_WaitKeyStroke),119(15,40),2,1)
------*/
#ifdef XCASELABELS
  case 13:
#endif
    yAssF_SDL_Charstring(yVarP->z_AccessLibrary_N9_InsertCard,
      SDL_CHARSTRING_LIT("LInsert card", "Insert card"), XASS_MR_ASS_FR);
#ifdef XTRACE
    xTraceAssign("InsertCard := ", &(yVarP->z_AccessLibrary_N9_InsertCard),
      xSrtN_SDL_Charstring);
#endif
#ifdef XMSCE
    xMSCEAssign("InsertCard := ", &(yVarP->z_AccessLibrary_N9_InsertCard),

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -