Loading…

Method Name: sub_unit

Method ID: 0x40C6

Method Label: UNIT2

Method Help: Display UNIT2- Engineering unit on unit2 LCD of converter to be display with flow values.


  • {
  • int result;
  • char status[3];
  • int sub_unit10;
  • int sub_unit20;
  • int sub_total_direction10;
  • int sub_total_direction20;
  • int selecter;
  • send(193,status);
  • sub_unit10 = _ivar_value(resolve_record_ref(resolve_array_ref(172,1),16575));
  • sub_total_direction10 = _ivar_value(resolve_record_ref(resolve_array_ref(172,1),16576));
  • do {
  • switch (sub_unit10)
  • {
  • case 28:
  • {
  • result = SELECT_FROM_LIST(literal_string(385),literal_string(386));
  • break;
  • }
  • case 131:
  • {
  • result = SELECT_FROM_LIST(literal_string(387),literal_string(386));
  • break;
  • }
  • case 19:
  • {
  • result = SELECT_FROM_LIST(literal_string(388),literal_string(386));
  • break;
  • }
  • case 29:
  • {
  • result = SELECT_FROM_LIST(literal_string(389),literal_string(386));
  • break;
  • }
  • case 24:
  • {
  • result = SELECT_FROM_LIST(literal_string(390),literal_string(386));
  • break;
  • }
  • case 17:
  • {
  • result = SELECT_FROM_LIST(literal_string(391),literal_string(386));
  • break;
  • }
  • case 138:
  • {
  • result = SELECT_FROM_LIST(literal_string(392),literal_string(386));
  • break;
  • }
  • case 143:
  • {
  • result = SELECT_FROM_LIST(literal_string(393),literal_string(386));
  • break;
  • }
  • case 141:
  • {
  • result = SELECT_FROM_LIST(literal_string(394),literal_string(386));
  • break;
  • }
  • case 140:
  • {
  • result = SELECT_FROM_LIST(literal_string(395),literal_string(386));
  • break;
  • }
  • case 139:
  • {
  • result = SELECT_FROM_LIST(literal_string(396),literal_string(386));
  • break;
  • }
  • case 142:
  • {
  • result = SELECT_FROM_LIST(literal_string(397),literal_string(386));
  • break;
  • }
  • case 57:
  • {
  • result = SELECT_FROM_LIST(literal_string(398),literal_string(386));
  • break;
  • }
  • case 21:
  • {
  • result = SELECT_FROM_LIST(literal_string(399),literal_string(386));
  • break;
  • }
  • case 146:
  • {
  • result = SELECT_FROM_LIST(literal_string(400),literal_string(386));
  • break;


Please login for more