Loading…
Loading…
Method Name: HH_SILSequence_SequenceMethod_1
Method ID: 0x4867
Method Label: Confirmação SIL
Method Help:
- {
- int step;
- int write;
- int select;
- int tempconfirm;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _add_abort_method(18779);
- step = 0;
- write = 1;
- while (step < 25)
- {
- 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(2807),0,17400);
- send_command_trans(178,195);
- }
- send_command_trans(173,1);
- if (SIL_SILState_1 == 0)
- {
- step = 0;
- }
- break;
- case 1:
- step = 1 + 1;
- send_command_trans(194,209);
- send_command_trans(194,211);
- send_command_trans(194,214);
- send_command_trans(194,213);
- send_command_trans(173,210);
- send_command_trans(194,217);
- send_command_trans(173,1);
- send_command_trans(173,1);
- ACKNOWLEDGE(literal_string(2816) + literal_string(2817));
- if (SIL_Prepare_1 == 275)
- {
- send_command_trans(173,210);
- ACKNOWLEDGE(literal_string(2818) + literal_string(2819));
- }
- 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,212);
- ACKNOWLEDGE(literal_string(2820) + literal_string(2821));
- _iassign(17336,33138);
- send_command_trans(178,1727);
- tempconfirm = _ivar_value(17336);
- if (tempconfirm != 33138)
- {
- ACKNOWLEDGE(literal_string(2822) + literal_string(2823));
- abort();
- }
- }
- break;
- case 3:
- step = 3 + 1;
- send_command_trans(173,1);
- if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
- {
- send_command_trans(194,210);
- ACKNOWLEDGE(literal_string(2824) + literal_string(2825));
- _iassign(17346,33138);
- send_command_trans(178,1739);
- tempconfirm = _ivar_value(17346);
- if (tempconfirm != 33138)
- {
- ACKNOWLEDGE(literal_string(2822) + literal_string(2826));
- abort();
- }
- }
- break;
- case 4:
- step = 4 + 1;
- send_command_trans(173,1);
- if (SIL_Prepare_1 == 274 && SIL_SILState_1 == 1)
- {
- send_command_trans(194,209);
Please login for more