equal
deleted
inserted
replaced
181 change_hmi_value(index,opstr) { |
181 change_hmi_value(index,opstr) { |
182 return change_hmi_value(this.get_variable_index(index), opstr); |
182 return change_hmi_value(this.get_variable_index(index), opstr); |
183 } |
183 } |
184 |
184 |
185 apply_hmi_value(index, new_val) { |
185 apply_hmi_value(index, new_val) { |
186 return apply_hmi_value(this.get_variable_index(0), new_val); |
186 return apply_hmi_value(this.get_variable_index(index), new_val); |
187 } |
187 } |
188 |
188 |
189 new_hmi_value(index, value, oldval) { |
189 new_hmi_value(index, value, oldval) { |
190 // TODO avoid searching, store index at sub() |
190 // TODO avoid searching, store index at sub() |
191 for(let i = 0; i < this.indexes.length; i++) { |
191 for(let i = 0; i < this.indexes.length; i++) { |