svghmi/widgets_common.ysl2
branchsvghmi
changeset 3004 705e34c6fe93
parent 3001 003fd80ff0b8
child 3005 ff9ae4f4e3be
equal deleted inserted replaced
3003:9771a724af09 3004:705e34c6fe93
   106         }
   106         }
   107 
   107 
   108         get_idx(index) {
   108         get_idx(index) {
   109              let orig = this.indexes[index];
   109              let orig = this.indexes[index];
   110              return this.offset ? orig + this.offset : orig;
   110              return this.offset ? orig + this.offset : orig;
       
   111         }
       
   112         change_hmi_value(index,opstr) {
       
   113             return change_hmi_value(this.get_idx(index), opstr);
       
   114         }
       
   115 
       
   116         apply_hmi_value(index, new_val) {
       
   117             return apply_hmi_value(this.get_idx(0), new_val);
   111         }
   118         }
   112     }
   119     }
   113     ||
   120     ||
   114 }
   121 }
   115 
   122