Loading…

Method Name: Window_SILSequence_SequenceMethod_1

Method ID: 0x482C

Method Label: Confirmación SIL

Method Help:


  • {
  • int varid[1];
  • int step;
  • int write;
  • int tempconfirm;
  • int select;
  • long temp;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _add_abort_method(18477);
  • step = 0;
  • write = 1;
  • while (step < 28)
  • {
  • switch (step)
  • {
  • case 0:
  • step = 0 + 1;
  • send_command_trans(173,1);
  • if (SIL_SILState_1 != 2 && (STD_SWOptionActiveOverview_1 & 2) == 2)
  • {
  • send_command_trans(173,1);
  • _get_dev_var_value(literal_string(2529),0,17378);
  • send_command_trans(178,196);
  • }
  • send_command_trans(173,1);
  • if (SIL_SILState_1 == 0)
  • {
  • step = 0;
  • }
  • break;
  • case 1:
  • step = 1 + 1;
  • send_command_trans(159,247);
  • send_command_trans(159,248);
  • send_command_trans(159,249);
  • send_command_trans(159,246);
  • send_command_trans(159,252);
  • send_command_trans(159,250);
  • send_command_trans(159,253);
  • send_command_trans(173,1);
  • send_command_trans(173,1);
  • ACKNOWLEDGE(literal_string(2530) + literal_string(2531));
  • if (SIL_Prepare_1 == 275)
  • {
  • send_command_trans(173,247);
  • ACKNOWLEDGE(literal_string(2532) + literal_string(2533));
  • }
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 != 274)
  • {
  • step = 1;
  • }
  • break;
  • case 2:
  • step = 2 + 1;
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
  • {
  • send_command_trans(173,249);
  • ACKNOWLEDGE(literal_string(2517) + literal_string(2534));
  • _iassign(17308,33138);
  • send_command_trans(178,11529);
  • tempconfirm = _ivar_value(17308);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2535) + literal_string(2536));
  • abort();
  • }
  • }
  • break;
  • case 3:
  • step = 3 + 1;
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
  • {
  • send_command_trans(159,247);
  • ACKNOWLEDGE(literal_string(2537) + literal_string(2538));
  • _iassign(17321,33138);
  • send_command_trans(178,11541);
  • tempconfirm = _ivar_value(17321);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2535) + literal_string(2539));
  • abort();
  • }
  • }
  • break;
  • case 4:
  • step = 4 + 1;
  • send_command_trans(173,1);
  • if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
  • {
  • send_command_trans(159,249);
  • ACKNOWLEDGE(literal_string(2540) + literal_string(2541));
  • _iassign(17313,33138);
  • send_command_trans(178,11478);
  • tempconfirm = _ivar_value(17313);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2535) + literal_string(2542));
  • abort();


Please login for more