svghmi/widgets_common.ysl2
branchsvghmi
changeset 3004 705e34c6fe93
parent 3001 003fd80ff0b8
child 3005 ff9ae4f4e3be
--- a/svghmi/widgets_common.ysl2	Mon Aug 03 18:25:23 2020 +0200
+++ b/svghmi/widgets_common.ysl2	Tue Aug 04 11:53:39 2020 +0200
@@ -109,6 +109,13 @@
              let orig = this.indexes[index];
              return this.offset ? orig + this.offset : orig;
         }
+        change_hmi_value(index,opstr) {
+            return change_hmi_value(this.get_idx(index), opstr);
+        }
+
+        apply_hmi_value(index, new_val) {
+            return apply_hmi_value(this.get_idx(0), new_val);
+        }
     }
     ||
 }