Loading…
Loading…
方法名称: main_unit
方法ID: 0x40C5
方法标签: Main unit
方法描述: Display main unit - Main unit on LCD of converter.
- {
- int result;
- char status[3];
- int main_unit10;
- int main_unit20;
- int main_total_direction10;
- int main_total_direction20;
- int selecter;
- send(193,status);
- main_unit10 = _ivar_value(resolve_record_ref(16598,16573));
- main_total_direction10 = _ivar_value(resolve_record_ref(16598,16574));
- do {
- result = SELECT_FROM_LIST(literal_string(528),literal_string(529));
- if (result == 0)
- {
- selecter = result;
- result = SELECT_FROM_LIST(literal_string(530),literal_string(531));
- switch (result)
- {
- case 0:
- {
- main_unit20 = 21;
- break;
- }
- case 1:
- {
- main_unit20 = 20;
- break;
- }
- }
- _iassign(resolve_record_ref(16598,16573),main_unit20);
- send(192,status);
- if (status[0])
- {
- display_response_status(192,status[0]);
- }
- }
- else
- if (result == 1)
- {
- selecter = result;
- result = SELECT_FROM_LIST(literal_string(532),literal_string(533));
- switch (result)
- {
- case 0:
- {
- main_unit20 = 28;
- break;
- }
- case 1:
- {
- main_unit20 = 131;
- break;
- }
- case 2:
- {
- main_unit20 = 19;
- break;
- }
- case 3:
- {
- main_unit20 = 29;
- break;
- }
- case 4:
- {
- main_unit20 = 24;
- break;
- }
- case 5:
- {
- main_unit20 = 17;
- break;
- }
- case 6:
- {
- main_unit20 = 138;
- break;
- }
请登录以获得完整内容