Loading…

Method Name: Window_SILSequence_SequenceMethod_1

Method ID: 0x482C

Method Label: SIL confirmation

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(2711),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,259);
  • send_command_trans(159,260);
  • send_command_trans(159,261);
  • send_command_trans(159,258);
  • send_command_trans(159,264);
  • send_command_trans(159,262);
  • send_command_trans(159,265);
  • send_command_trans(173,1);
  • send_command_trans(173,1);
  • ACKNOWLEDGE(literal_string(2731) + literal_string(2732));
  • if (SIL_Prepare_1 == 275)
  • {
  • send_command_trans(173,259);
  • ACKNOWLEDGE(literal_string(2733) + literal_string(2734));
  • }
  • 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,261);
  • ACKNOWLEDGE(literal_string(2735) + literal_string(2736));
  • _iassign(17308,33138);
  • send_command_trans(178,11529);
  • tempconfirm = _ivar_value(17308);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2737) + literal_string(2738));
  • 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,259);
  • ACKNOWLEDGE(literal_string(2739) + literal_string(2740));
  • _iassign(17321,33138);
  • send_command_trans(178,11541);
  • tempconfirm = _ivar_value(17321);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2737) + literal_string(2741));
  • 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,261);
  • ACKNOWLEDGE(literal_string(1285) + literal_string(2742));
  • _iassign(17313,33138);
  • send_command_trans(178,11478);
  • tempconfirm = _ivar_value(17313);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2737) + literal_string(2743));
  • abort();


Please login for more