Loading…

Method Name: Window_SILSequence_SequenceMethod_1

Method ID: 0x4758

Method Label: Confirmação 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(18265);
  • step = 0;
  • write = 1;
  • while (step < 18)
  • {
  • 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(2322),0,17264);
  • 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,183);
  • send_command_trans(159,184);
  • send_command_trans(159,186);
  • send_command_trans(159,187);
  • send_command_trans(159,185);
  • send_command_trans(159,188);
  • send_command_trans(173,1);
  • send_command_trans(173,1);
  • ACKNOWLEDGE(literal_string(2323) + literal_string(2324));
  • if (SIL_Prepare_1 == 275)
  • {
  • send_command_trans(173,185);
  • ACKNOWLEDGE(literal_string(2325) + literal_string(2326));
  • }
  • 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,186);
  • ACKNOWLEDGE(literal_string(2310) + literal_string(2327));
  • _iassign(17214,33138);
  • send_command_trans(178,1787);
  • tempconfirm = _ivar_value(17214);
  • if (tempconfirm != 33138)
  • {
  • ACKNOWLEDGE(literal_string(2328) + literal_string(2329));
  • abort();
  • }


Please login for more