Merge changes from default to wxPython4 branch
--- a/svghmi/Makefile Thu May 26 23:41:10 2022 +0200
+++ b/svghmi/Makefile Mon May 30 15:30:51 2022 +0200
@@ -15,7 +15,7 @@
ysl2includes := $(filter-out $(ysl2files), $(wildcard *.ysl2))
xsltfiles := $(patsubst %.ysl2, %.xslt, $(ysl2files))
-jsfiles := svghmi.js sprintf.js
+jsfiles := svghmi.js sprintf.js pythonic.js --- a/svghmi/gen_index_xhtml.ysl2 Thu May 26 23:41:10 2022 +0200
+++ b/svghmi/gen_index_xhtml.ysl2 Mon May 30 15:30:51 2022 +0200
@@ -96,6 +96,8 @@
+ include text pythonic.js --- a/svghmi/i18n.ysl2 Thu May 26 23:41:10 2022 +0200
+++ b/svghmi/i18n.ysl2 Mon May 30 15:30:51 2022 +0200
@@ -11,6 +11,9 @@
attrib "label" value "substring(@inkscape:label,2)";
+ if "string-length(text()) > 0" line { apply "svg:*", mode="extract_i18n";
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/svghmi/pythonic.js Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,212 @@
+From https://github.com/keyvan-m-sadeghi/pythonic +Slightly modified in order to be usable in browser (i.e. not as a node.js module) +Copyright (c) 2016 Assister.Ai +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + constructor(generator) { + this[Symbol.iterator] = generator; + async * [Symbol.asyncIterator]() { + for (const element of this) { + for (const element of this) { + for (const element of this) { + result.push(callback(element)); + for (const element of this) { + if (callback(element)) { + reduce(callback, initialValue) { + let empty = typeof initialValue === 'undefined'; + let accumulator = initialValue; + for (const currentValue of this) { + accumulator = currentValue; + accumulator = callback(accumulator, currentValue, index, this); + throw new TypeError('Reduce of empty Iterator with no initial value'); + for (const element of this) { + if (callback(element)) { + for (const element of this) { + if (!callback(element)) { + static fromIterable(iterable) { + return new Iterator(function * () { + for (const element of iterable) { + return Array.from(this); + if (!this.currentInvokedGenerator) { + this.currentInvokedGenerator = this[Symbol.iterator](); + return this.currentInvokedGenerator.next(); + delete this.currentInvokedGenerator; +function rangeSimple(stop) { + return new Iterator(function * () { + for (let i = 0; i < stop; i++) { +function rangeOverload(start, stop, step = 1) { + return new Iterator(function * () { + for (let i = start; i < stop; i += step) { +function range(...args) { + return rangeSimple(...args); + return rangeOverload(...args); +function enumerate(iterable) { + return new Iterator(function * () { + for (const element of iterable) { + yield [index, element]; +const _zip = longest => (...iterables) => { + if (iterables.length < 2) { + throw new TypeError("zip takes 2 iterables at least, "+iterables.length+" given"); + return new Iterator(function * () { + const iterators = iterables.map(iterable => Iterator.fromIterable(iterable)); + const row = iterators.map(iterator => iterator.next()); + const check = longest ? row.every.bind(row) : row.some.bind(row); + if (check(next => next.done)) { + yield row.map(next => next.value); +const zip = _zip(false), zipLongest= _zip(true); + if (obj instanceof Map) { + return Object.keys(obj); + return new Iterator(function * () { + for (const key of keys()) { +module.exports = {Iterator, range, enumerate, zip: _zip(false), zipLongest: _zip(true), items}; --- a/svghmi/sprintf.js Thu May 26 23:41:10 2022 +0200
+++ b/svghmi/sprintf.js Mon May 30 15:30:51 2022 +0200
@@ -114,8 +114,14 @@
/* get lang from globals */
let lang = get_current_lang_code();
- arg = Date(arg).toLocaleString('en-US', options);
+ f = new Intl.DateTimeFormat(lang, options); + f = new Intl.DateTimeFormat('en-US', options); TODO: select with padding char
a: absolute time and date (default)
--- a/svghmi/widget_dropdown.ysl2 Thu May 26 23:41:10 2022 +0200
+++ b/svghmi/widget_dropdown.ysl2 Mon May 30 15:30:51 2022 +0200
@@ -374,7 +374,7 @@
// special case when used for language selection
when "count(arg) = 1 and arg[1]/@value = '#langs'" {
| this.text_elt = id("«$text_elt/@id»");
- | this.content = langs;
+ | this.content = langs.map(([lname,lcode]) => lname); if "not($text_elt[self::svg:use])"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/svghmi/widget_xygraph.ysl2 Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,630 @@
+widget_desc("XYGraph") { + XYGraph draws a cartesian trend graph re-using styles given for axis, + grid/marks, legends and curves. + Elements labeled "x_axis" and "y_axis" are svg:groups containg: + - "axis_label" svg:text gives style an alignment for axis labels. + - "interval_major_mark" and "interval_minor_mark" are svg elements to be + duplicated along axis line to form intervals marks. + - "axis_line" svg:path is the axis line. Paths must be intersect and their + bounding box is the chart wall. + Elements labeled "curve_0", "curve_1", ... are paths whose styles are used + to draw curves corresponding to data from variables passed as HMI tree paths. + "curve_0" is mandatory. HMI variables outnumbering given curves are ignored. + shortdesc > Cartesian trend graph showing values of given variables over time + path name="value" count="1+" accepts="HMI_INT,HMI_REAL" > value + arg name="size" accepts="int" > buffer size + arg name="xformat" count="optional" accepts="string" > format string for X label + arg name="yformat" count="optional" accepts="string" > format string for Y label + arg name="ymin" count="optional" accepts="int,real" > minimum value foe Y axis + arg name="ymax" count="optional" accepts="int,real" > maximum value for Y axis +widget_class("XYGraph") { + this.x_format, this.y_format] = this.args; + // Min and Max given with paths are meant to describe visible range, + let y_min = Infinity, y_max = -Infinity; + // Compute visible Y range by merging fixed curves Y ranges + for(let minmax of this.minmaxes){ + let [min,max] = minmax; + if(y_min !== Infinity && y_max !== -Infinity){ + this.fixed_y_range = true; + this.fixed_y_range = false; + this.reference = new ReferenceFrame( + [[this.x_interval_minor_mark_elt, this.x_interval_major_mark_elt], + [this.y_interval_minor_mark_elt, this.y_interval_major_mark_elt]], + [this.x_axis_label_elt, this.y_axis_label_elt], + [this.x_axis_line_elt, this.y_axis_line_elt], + [this.x_format, this.y_format]); + let max_stroke_width = 0; + for(let curve of this.curves){ + if(curve.style.strokeWidth > max_stroke_width){ + max_stroke_width = curve.style.strokeWidth; + this.Margins=this.reference.getLengths().map(length => max_stroke_width/length); + // create <clipPath> path and attach it to widget + let clipPath = document.createElementNS(xmlns,"clipPath"); + let clipPathPath = document.createElementNS(xmlns,"path"); + let clipPathPathDattr = document.createAttribute("d"); + clipPathPathDattr.value = this.reference.getClipPathPathDattr(); + clipPathPath.setAttributeNode(clipPathPathDattr); + clipPath.appendChild(clipPathPath); + clipPath.id = randomId(); + this.element.appendChild(clipPath); + // assign created clipPath to clip-path property of curves + for(let curve of this.curves){ + curve.setAttribute("clip-path", "url(#" + clipPath.id + ")"); + this.curves_data = this.curves.map(_unused => []); + this.max_data_length = this.args[0]; + dispatch(value,oldval, index) { + // TODO: get PLC time instead of browser time + // naive local buffer impl. + // data is updated only when graph is visible + // TODO: replace with separate recording + this.curves_data[index].push([time, value]); + let data_length = this.curves_data[index].length; + let ymin_damaged = false; + let ymax_damaged = false; + if(data_length > this.max_data_length){ + [this.xmin, overflow] = this.curves_data[index].shift(); + data_length = data_length - 1; + if(this.xmin == undefined){ + let Xrange = this.xmax - this.xmin; + if(!this.fixed_y_range){ + ymin_damaged = overflow <= this.ymin; + ymax_damaged = overflow >= this.ymax; + let Yrange = this.ymax - this.ymin; + let [xMargin,yMargin] = zip(this.Margins, [Xrange, Yrange]).map(([m,l]) => m*l); + [[this.dxmin, this.dxmax],[this.dymin,this.dymax]] = + [[this.xmin-xMargin, this.xmax+xMargin], + [this.ymin-yMargin, this.ymax+yMargin]]; + // recompute curves "d" attribute + // FIXME: use SVG getPathData and setPathData when available. + // https://svgwg.org/specs/paths/#InterfaceSVGPathData + // https://github.com/jarek-foksa/path-data-polyfill + let [base_point, xvect, yvect] = this.reference.getBaseRef(); + zip(this.curves_data, this.curves).map(([data,curve]) => { + let new_d = data.map(([x,y], i) => { + // compute curve point from data, ranges, and base_ref + let xv = vectorscale(xvect, (x - this.dxmin) / Xrange); + let yv = vectorscale(yvect, (y - this.dymin) / Yrange); + let px = base_point.x + xv.x + yv.x; + let py = base_point.y + xv.y + yv.y; + if(!this.fixed_y_range){ + if(ymin_damaged && y < this.ymin) this.ymin = y; + if(ymax_damaged && y > this.ymax) this.ymax = y; + return " " + px + "," + py; + // computed curves "d" attr is applied to svg curve during animate(); + this.request_animate(); + // move elements only if enough data + if(this.curves_data.some(data => data.length > 1)){ + // move marks and update labels + this.reference.applyRanges([[this.dxmin, this.dxmax], + [this.dymin, this.dymax]]); + // apply computed curves "d" attributes + for(let [curve, d_attr] of zip(this.curves, this.curves_d_attr)){ + curve.setAttribute("d", d_attr); +widget_defs("XYGraph") { + labels("/x_interval_minor_mark /x_axis_line /x_interval_major_mark /x_axis_label"); + labels("/y_interval_minor_mark /y_axis_line /y_interval_major_mark /y_axis_label"); + // collect all curve_n labelled children + foreach "$hmi_element/*[regexp:test(@inkscape:label,'^curve_[0-9]+$')]" { + const "label","@inkscape:label"; + // detect non-unique names + if "$hmi_element/*[not($id = @id) and @inkscape:label=$label]"{ + error > XYGraph id="«$id»", label="«$label»" : elements with data_n label must be unique. + | this.curves[«substring(@inkscape:label, 7)»] = id("«@id»"); /* «@inkscape:label» */ +emit "declarations:XYGraph" +function lineFromPath(path_elt) { + let start = path_elt.getPointAtLength(0); + let end = path_elt.getPointAtLength(path_elt.getTotalLength()); + return [start, new DOMPoint(end.x - start.x , end.y - start.y)]; +function vector(p1, p2) { + return new DOMPoint(p2.x - p1.x , p2.y - p1.y); +function vectorscale(p1, p2) { + return new DOMPoint(p2 * p1.x , p2 * p1.y); +function vectorLength(p1) { + return Math.sqrt(p1.x*p1.x + p1.y*p1.y); + return Date.now().toString(36) + Math.random().toString(36).substr(2); +function move_elements_to_group(elements) { + let newgroup = document.createElementNS(xmlns,"g"); + newgroup.id = randomId(); + for(let element of elements){ + let parent = element.parentElement; + parent.removeChild(element); + newgroup.appendChild(element); +function getLinesIntesection(l1, l2) { + let [l1start, l1vect] = l1; + let [l2start, l2vect] = l2; + Compute intersection of two lines + ================================= + l1start ----------X--------------> l1vect + let [x1, y1, x3, y3] = [l1start.x, l1start.y, l2start.x, l2start.y]; + let [x2, y2, x4, y4] = [x1+l1vect.x, y1+l1vect.y, x3+l2vect.x, y3+l2vect.y]; + // line intercept math by Paul Bourke http://paulbourke.net/geometry/pointlineplane/ + // Determine the intersection point of two line segments + // Return FALSE if the lines don't intersect + // Check if none of the lines are of length 0 + if ((x1 === x2 && y1 === y2) || (x3 === x4 && y3 === y4)) { + denominator = ((y4 - y3) * (x2 - x1) - (x4 - x3) * (y2 - y1)) + if (denominator === 0) { + let ua = ((x4 - x3) * (y1 - y3) - (y4 - y3) * (x1 - x3)) / denominator + let ub = ((x2 - x1) * (y1 - y3) - (y2 - y1) * (x1 - x3)) / denominator + // Return a object with the x and y coordinates of the intersection + let x = x1 + ua * (x2 - x1) + let y = y1 + ua * (y2 - y1) + return new DOMPoint(x,y); + // [[Xminor,Xmajor], [Yminor,Ymajor]] + // [Xformat, Yformat] printf-like formating strings + this.axes = zip(labels,marks,lines,formats).map(args => new Axis(...args)); + let [lx,ly] = this.axes.map(axis => axis.line); + let [[xstart, xvect], [ystart, yvect]] = [lx,ly]; + let base_point = this.getBasePoint(); + // setup clipping for curves + this.clipPathPathDattr = + "m " + base_point.x + "," + base_point.y + " " + + xvect.x + "," + xvect.y + " " + + yvect.x + "," + yvect.y + " " + + -xvect.x + "," + -xvect.y + " " + + -yvect.x + "," + -yvect.y + " z"; + this.base_ref = [base_point, xvect, yvect]; + this.lengths = [xvect,yvect].map(v => vectorLength(v)); + for(let axis of this.axes){ + axis.setBasePoint(base_point); + getClipPathPathDattr(){ + return this.clipPathPathDattr; + let origin_moves = zip(ranges,this.axes).map(([range,axis]) => axis.applyRange(...range)); + zip(origin_moves.reverse(),this.axes).forEach(([vect,axis]) => axis.moveOrigin(vect)); + let [[xstart, xvect], [ystart, yvect]] = this.axes.map(axis => axis.line); + Compute graph clipping region base point + ======================================== + Clipping region is a parallelogram containing axes lines, + and whose sides are parallel to axes line respectively. + Given axes lines are not starting at the same point, hereafter is + calculus of parallelogram base point. + xstart *---------*--------------> given X axis (xvect) + *---------*-------------- + let base_point = getLinesIntesection([xstart,yvect],[ystart,xvect]); + constructor(label, marks, line, format){ + this.lineElement = line; + this.line = lineFromPath(line); + // add transforms for elements sliding along the axis line + for(let [elementname,element] of zip(["minor", "major", "label"],[...marks,label])){ + for(let name of ["base","slide"]){ + let transform = svg_root.createSVGTransform(); + element.transform.baseVal.insertItemBefore(transform,0); + this[elementname+"_"+name+"_transform"]=transform; + // group marks an labels together + let parent = line.parentElement; + this.marks_group = move_elements_to_group(marks); + this.marks_and_label_group = move_elements_to_group([this.marks_group, label]); + this.group = move_elements_to_group([this.marks_and_label_group,line]); + parent.appendChild(this.group); + // Add transforms to group + for(let name of ["base","origin"]){ + let transform = svg_root.createSVGTransform(); + this.group.transform.baseVal.appendItem(transform); + this[name+"_transform"]=transform; + this.marks_and_label_group_transform = svg_root.createSVGTransform(); + this.marks_and_label_group.transform.baseVal.appendItem(this.marks_and_label_group_transform); + this.last_duplicate_index = 0; + setBasePoint(base_point){ + // move Axis to base point + let [start, _vect] = this.line; + let v = vector(start, base_point); + this.base_transform.setTranslate(v.x, v.y); + // Move marks and label to base point. + // _|_______ _|________ + for(let [markname,mark] of zip(["minor", "major"],this.marks)){ + // Marks are expected to be paths + // paths are expected to be lines + // intersection with axis line is taken + // as reference for mark position + this.line, lineFromPath(mark)),base_point); + this[markname+"_base_transform"].setTranslate(pos.x - v.x, pos.y - v.y); + if(markname == "major"){ // label follow major mark + this.label_base_transform.setTranslate(pos.x - v.x, pos.y - v.y); + this.origin_transform.setTranslate(vect.x, vect.y); + // compute how many units for a mark + // - Units are expected to be an order of magnitude smaller than range, + // so that marks are not too dense and also not too sparse. + // Order of magnitude of range is log10(range) + // - Units are necessarily power of ten, otherwise it is complicated to + // fill the text in labels... + // Unit is pow(10, integer_number ) + // - To transform order of magnitude to an integer, floor() is used. + // This results in a count of mark fluctuating in between 10 and 100. + // - To spare resources result is better in between 3 and 30, + // and log10(3) is substracted to order of magnitude to obtain this + let unit = Math.pow(10, Math.floor(Math.log10(range)-Math.log10(3))); + // TODO: for time values (ms), units may be : + // Compute position of origin along axis [0...range] + // min < 0, max > 0, offset = -min + // _____________|________________ + // ... -3 -2 -1 |0 1 2 3 4 ... + // min > 0, max > 0, offset = 0 + // min < 0, max < 0, offset = max-min (range) + let offset = (max>=0 && min>=0) ? 0 : ( + (max<0 && min<0) ? range : -min); + let [_start, vect] = this.line; + let unit_vect = vectorscale(vect, 1/range); + let [mark_min, mark_max, mark_offset] = [min,max,offset].map(val => Math.round(val/unit)); + let mark_count = mark_max-mark_min; + // apply unit vector to marks and label + // offset is a representing position of an + // axis along the opposit axis line, expressed in major marks units + // unit_vect is unit vector + // _________|__________> + // move major marks and label to first positive mark position + // let v = vectorscale(unit_vect, unit); + // this.label_slide_transform.setTranslate(v.x, v.y); + // this.major_slide_transform.setTranslate(v.x, v.y); + // move minor mark to first half positive mark position + let v = vectorscale(unit_vect, unit/2); + this.minor_slide_transform.setTranslate(v.x, v.y); + // duplicate marks and labels as needed + let current_mark_count = this.duplicates.length; + for(let i = current_mark_count; i <= mark_count; i++){ + // cloneNode() label and add a svg:use of marks in a new group + let newgroup = document.createElementNS(xmlns,"g"); + let transform = svg_root.createSVGTransform(); + let newlabel = this.label.cloneNode(true); + let newuse = document.createElementNS(xmlns,"use"); + let newuseAttr = document.createAttribute("href"); + newuseAttr.value = "#"+this.marks_group.id; + newuse.setAttributeNode(newuseAttr); + newgroup.transform.baseVal.appendItem(transform); + newgroup.appendChild(newlabel); + newgroup.appendChild(newuse); + this.duplicates.push([transform,newgroup]); + // move marks and labels, set labels + // min > 0, max > 0, offset = 0 + // min < 0, max > 0, offset = -min + // _________|__________> + // min < 0, max < 0, offset = range + let duplicate_index = 0; + for(let mark_index = 0; mark_index <= mark_count; mark_index++){ + let val = (mark_min + mark_index) * unit; + let vec = vectorscale(unit_vect, val - min); + let text = this.format ? sprintf(this.format, val) : val.toString(); + if(mark_index == mark_offset){ + // apply offset to original marks and label groups + this.marks_and_label_group_transform.setTranslate(vec.x, vec.y); + // update original label text + this.label.getElementsByTagName("tspan")[0].textContent = text; + let [transform,element] = this.duplicates[duplicate_index++]; + // apply unit vector*N to marks and label groups + transform.setTranslate(vec.x, vec.y); + element.getElementsByTagName("tspan")[0].textContent = text; + // Attach to group if not already + if(element.parentElement == null){ + this.group.appendChild(element); + let save_duplicate_index = duplicate_index; + // dettach marks and label from group if not anymore visible + for(;duplicate_index < this.last_duplicate_index; duplicate_index++){ + let [transform,element] = this.duplicates[duplicate_index]; + this.group.removeChild(element); + this.last_duplicate_index = save_duplicate_index; + return vectorscale(unit_vect, offset); --- a/tests/projects/svghmi_i18n/svghmi_0@svghmi/messages.pot Thu May 26 23:41:10 2022 +0200
+++ b/tests/projects/svghmi_i18n/svghmi_0@svghmi/messages.pot Mon May 30 15:30:51 2022 +0200
@@ -5,7 +5,7 @@
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2021-02-15 14:45+CET\n"
+"POT-Creation-Date: 2022-05-26 11:39+CEST\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/svghmi_xy/beremiz.xml Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,5 @@
+<?xml version='1.0' encoding='utf-8'?> +<BeremizRoot xmlns:xsd="http://www.w3.org/2001/XMLSchema" URI_location="PYRO://127.0.0.1:61427"> + <Libraries Enable_SVGHMI_Library="true"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/svghmi_xy/plc.xml Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,337 @@
+<?xml version='1.0' encoding='utf-8'?> +<project xmlns:ns1="http://www.plcopen.org/xml/tc6.xsd" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.plcopen.org/xml/tc6_0201"> + <fileHeader companyName="Unknown" productName="Unnamed" productVersion="1" creationDateTime="2022-05-06T11:12:02"/> + <contentHeader name="Unnamed" modificationDateTime="2022-05-09T09:09:01"> + <pou name="program0" pouType="program"> + <variable name="trendval0"> + <derived name="HMI_REAL"/> + <variable name="trendval1"> + <derived name="HMI_REAL"/> + <variable name="counter"> + <outVariable localId="2" executionOrderId="0" height="25" width="95" negated="false"> + <position x="910" y="195"/> + <relPosition x="0" y="10"/> + <connection refLocalId="10" formalParameter="OUT"> + <position x="910" y="205"/> + <position x="885" y="205"/> + <expression>trendval0</expression> + <outVariable localId="3" executionOrderId="0" height="25" width="95" negated="false"> + <position x="910" y="255"/> + <relPosition x="0" y="10"/> + <connection refLocalId="12" formalParameter="OUT"> + <position x="910" y="265"/> + <position x="885" y="265"/> + <expression>trendval1</expression> + <block localId="4" typeName="ADD" executionOrderId="0" height="75" width="63"> + <position x="210" y="190"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="35"/> + <connection refLocalId="1"> + <position x="210" y="225"/> + <position x="140" y="225"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="60"/> + <connection refLocalId="7"> + <position x="210" y="250"/> + <position x="170" y="250"/> + <variable formalParameter="OUT"> + <relPosition x="63" y="35"/> + <block localId="5" typeName="SEL" executionOrderId="0" height="80" width="65"> + <position x="485" y="175"/> + <variable formalParameter="G"> + <relPosition x="0" y="30"/> + <connection refLocalId="6" formalParameter="OUT"> + <position x="485" y="205"/> + <position x="460" y="205"/> + <position x="460" y="185"/> + <position x="435" y="185"/> + <variable formalParameter="IN0"> + <relPosition x="0" y="50"/> + <connection refLocalId="4" formalParameter="OUT"> + <position x="485" y="225"/> + <position x="273" y="225"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="70"/> + <connection refLocalId="8"> + <position x="485" y="245"/> + <position x="445" y="245"/> + <variable formalParameter="OUT"> + <relPosition x="65" y="30"/> + <block localId="6" typeName="GE" executionOrderId="0" height="60" width="65"> + <position x="370" y="155"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="4" formalParameter="OUT"> + <position x="370" y="185"/> + <position x="306" y="185"/> + <position x="306" y="225"/> + <position x="273" y="225"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="9"> + <position x="370" y="205"/> + <position x="350" y="205"/> + <variable formalParameter="OUT"> + <relPosition x="65" y="30"/> + <inVariable localId="7" executionOrderId="0" height="25" width="20" negated="false"> + <position x="150" y="240"/> + <relPosition x="20" y="10"/> + <expression>1</expression> + <inVariable localId="8" executionOrderId="0" height="25" width="20" negated="false"> + <position x="425" y="235"/> + <relPosition x="20" y="10"/> + <expression>0</expression> + <inVariable localId="9" executionOrderId="0" height="25" width="35" negated="false"> + <position x="315" y="195"/> + <relPosition x="35" y="10"/> + <expression>360</expression> + <block localId="10" typeName="COS" executionOrderId="0" height="40" width="60"> + <position x="825" y="175"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="14" formalParameter="OUT"> + <position x="825" y="205"/> + <position x="785" y="205"/> + <variable formalParameter="OUT"> + <relPosition x="60" y="30"/> + <block localId="11" typeName="INT_TO_REAL" executionOrderId="0" height="40" width="100"> + <position x="585" y="175"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="5" formalParameter="OUT"> + <position x="585" y="205"/> + <position x="550" y="205"/> + <variable formalParameter="OUT"> + <relPosition x="100" y="30"/> + <block localId="12" typeName="SIN" executionOrderId="0" height="40" width="60"> + <position x="825" y="235"/> + <variable formalParameter="IN"> + <relPosition x="0" y="30"/> + <connection refLocalId="14" formalParameter="OUT"> + <position x="825" y="265"/> + <position x="805" y="265"/> + <position x="805" y="205"/> + <position x="785" y="205"/> + <variable formalParameter="OUT"> + <relPosition x="60" y="30"/> + <inOutVariable localId="1" executionOrderId="0" height="25" width="70" negatedOut="false" negatedIn="false"> + <position x="70" y="215"/> + <relPosition x="0" y="10"/> + <connection refLocalId="5" formalParameter="OUT"> + <position x="70" y="225"/> + <position x="60" y="225"/> + <position x="60" y="285"/> + <position x="560" y="285"/> + <position x="560" y="205"/> + <position x="550" y="205"/> + <relPosition x="70" y="10"/> + <expression>counter</expression> + <comment localId="13" height="110" width="285"> + <position x="40" y="25"/> + <xhtml:p><![CDATA[Generate values for curves]]></xhtml:p> + <block localId="14" typeName="DIV" executionOrderId="0" height="60" width="65"> + <position x="720" y="175"/> + <variable formalParameter="IN1"> + <relPosition x="0" y="30"/> + <connection refLocalId="11" formalParameter="OUT"> + <position x="720" y="205"/> + <position x="685" y="205"/> + <variable formalParameter="IN2"> + <relPosition x="0" y="50"/> + <connection refLocalId="15"> + <position x="720" y="225"/> + <position x="685" y="225"/> + <variable formalParameter="OUT"> + <relPosition x="65" y="30"/> + <inVariable localId="15" executionOrderId="0" height="25" width="70" negated="false"> + <position x="615" y="215"/> + <relPosition x="70" y="10"/> + <expression>57.2958</expression> + <configuration name="config"> + <resource name="resource1"> + <task name="task0" priority="0" interval="T#20ms"> + <pouInstance name="instance0" typeName="program0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/svghmi_xy/svghmi_0@svghmi/baseconfnode.xml Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,2 @@
+<?xml version='1.0' encoding='utf-8'?> +<BaseParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" IEC_Channel="0" Name="svghmi_0"/> --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/svghmi_xy/svghmi_0@svghmi/confnode.xml Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,2 @@
+<?xml version='1.0' encoding='utf-8'?> +<SVGHMI xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> Binary file tests/projects/svghmi_xy/svghmi_0@svghmi/fr-FR.mo has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/svghmi_xy/svghmi_0@svghmi/fr-FR.po Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,21 @@
+# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +"Project-Id-Version: \n" +"POT-Creation-Date: 2022-05-13 11:27+CEST\n" +"PO-Revision-Date: 2022-05-13 11:29+0200\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: SVGHMI 1.0\n" +"X-Generator: Poedit 2.3\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/svghmi_xy/svghmi_0@svghmi/messages.pot Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,21 @@
+# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR ORGANIZATION +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2022-05-30 12:35+CEST\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: SVGHMI 1.0\n" +#:svghmi.svg: blup:text73 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/projects/svghmi_xy/svghmi_0@svghmi/svghmi.svg Mon May 30 15:30:51 2022 +0200
@@ -0,0 +1,585 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)" + sodipodi:docname="svghmi.svg" + <dc:format>image/svg+xml</dc:format> + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + inkscape:stockid="Arrow1Mend" + style="overflow:visible" + inkscape:isstock="true"> + inkscape:connector-curvature="0" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + style="fill:#00aad4;fill-opacity:1;fill-rule:evenodd;stroke:#00aad4;stroke-width:1.00000003pt;stroke-opacity:1" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="Arrow1Mend"> + inkscape:connector-curvature="0" + transform="matrix(-0.4,0,0,-0.4,-4,0)" + style="fill:#00aad4;fill-opacity:1;fill-rule:evenodd;stroke:#00aad4;stroke-width:1.00000003pt;stroke-opacity:1" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + inkscape:stockid="Arrow1Mend" + style="overflow:visible" + inkscape:isstock="true"> + inkscape:connector-curvature="0" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="Arrow1Mend"> + inkscape:connector-curvature="0" + transform="matrix(-0.4,0,0,-0.4,-4,0)" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + inkscape:stockid="Arrow1Mend" + style="overflow:visible" + inkscape:isstock="true"> + inkscape:connector-curvature="0" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="Arrow1Mend"> + inkscape:connector-curvature="0" + transform="matrix(-0.4,0,0,-0.4,-4,0)" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000003pt;stroke-opacity:1" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + inkscape:stockid="Arrow2Lend" + style="overflow:visible" + inkscape:isstock="true"> + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" + d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" + transform="matrix(-1.1,0,0,-1.1,-1.1,0)" + inkscape:connector-curvature="0" /> + inkscape:stockid="Arrow2Lend" + style="overflow:visible" + inkscape:isstock="true"> + inkscape:connector-curvature="0" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" + d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" + transform="matrix(-1.1,0,0,-1.1,-1.1,0)" /> + inkscape:stockid="Arrow2Lend" + style="overflow:visible" + inkscape:isstock="true"> + inkscape:connector-curvature="0" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" + d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" + transform="matrix(-1.1,0,0,-1.1,-1.1,0)" /> + inkscape:stockid="Arrow2Lend" + style="overflow:visible" + inkscape:isstock="true" + inkscape:collect="always"> + inkscape:connector-curvature="0" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" + d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" + transform="matrix(-1.1,0,0,-1.1,-1.1,0)" /> + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="Arrow2Lend" + inkscape:collect="always"> + inkscape:connector-curvature="0" + transform="matrix(-1.1,0,0,-1.1,-1.1,0)" + d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z" + style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1" + inkscape:collect="always" + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="DotM"> + transform="matrix(0.4,0,0,0.4,2.96,0.4)" + style="fill:#ff6600;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:1.00000003pt;stroke-opacity:1" + d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z" + inkscape:connector-curvature="0" /> + inkscape:collect="always" + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="Arrow1Mend"> + transform="matrix(-0.4,0,0,-0.4,-4,0)" + style="fill:#ff6600;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:1.00000003pt;stroke-opacity:1" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + inkscape:connector-curvature="0" /> + inkscape:collect="always" + inkscape:stockid="Arrow1Mend" + style="overflow:visible" + inkscape:isstock="true"> + d="M 0,0 5,-5 -12.5,0 5,5 Z" + style="fill:#3ee800;fill-opacity:1;fill-rule:evenodd;stroke:#3ee800;stroke-width:1.00000003pt;stroke-opacity:1" + transform="matrix(-0.4,0,0,-0.4,-4,0)" + inkscape:connector-curvature="0" /> + inkscape:collect="always" + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="Arrow1Mend"> + transform="matrix(-0.4,0,0,-0.4,-4,0)" + style="fill:#3ee800;fill-opacity:1;fill-rule:evenodd;stroke:#3ee800;stroke-width:1.00000003pt;stroke-opacity:1" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + inkscape:connector-curvature="0" /> + inkscape:collect="always" + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="DotM"> + transform="matrix(0.4,0,0,0.4,2.96,0.4)" + style="fill:#ff6600;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:1.00000003pt;stroke-opacity:1" + d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z" + inkscape:connector-curvature="0" /> + inkscape:collect="always" + inkscape:isstock="true" + style="overflow:visible" + inkscape:stockid="Arrow1Mend"> + transform="matrix(-0.4,0,0,-0.4,-4,0)" + style="fill:#ff6600;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:1.00000003pt;stroke-opacity:1" + d="M 0,0 5,-5 -12.5,0 5,5 Z" + inkscape:connector-curvature="0" /> + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1600" + inkscape:window-height="836" + inkscape:zoom="2.6222222" + inkscape:cx="138.92196" + inkscape:cy="243.43713" + inkscape:window-maximized="1" + inkscape:current-layer="g2776" /> + inkscape:label="HMI:Page:Home" + style="color:#000000;opacity:1;fill:#d6d6d6;fill-opacity:1" /> + transform="matrix(3.7795276,0,0,3.7795276,-24.745762,-208.06827)" + inkscape:label="HMI:XYGraph|10:100:%.2D:%.4f@/TRENDVAL0@/TRENDVAL1"> + inkscape:label="background" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#e6e6e6;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.66866732;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> + style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ff0000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 155.83129,160.76911 c -6.48118,-0.65276 -10.17779,-21.29836 -15.40662,-31.02314 -3.53004,-8.41808 -7.5877,-1.29208 -10.4198,6.97869 -4.61524,10.2233 -10.32507,20.13252 -15.96731,14.06607 -7.74352,-19.32213 -18.607099,-4.75161 -26.390159,-23.86108 -4.63396,-13.32693 -11.88412,-10.90822 -16.09527,3.29105 -2.36066,8.20528 -4.35835,18.89169 -7.94811,21.41954 -2.80281,2.74222 -5.9827,1.11526 -8.29837,-5.00354" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccccccc" + inkscape:label="curve_1" /> + inkscape:label="curve_0" + sodipodi:nodetypes="cccccccc" + inkscape:connector-curvature="0" + d="m 55.011564,133.09949 c 6.481177,0.19426 10.177788,6.33834 15.406617,9.23241 3.530037,2.5052 7.587703,0.38452 10.419795,-2.07684 4.615243,-3.04243 10.325074,-5.99139 15.967312,-4.18603 7.743522,5.75022 18.607102,1.41407 26.390162,7.101 4.63396,3.96606 11.88412,3.24626 16.09527,-0.97941 2.36066,-2.44187 4.35835,-5.62212 7.94811,-6.3744 2.80281,-0.81608 5.9827,-0.3319 8.29837,1.48904" + style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#00b4cf;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /> + inkscape:label="y_interval_minor_mark" + inkscape:connector-curvature="0" + d="m 43.637172,172.91226 h -1.35783" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + sodipodi:nodetypes="cc" /> + inkscape:label="y_axis_line" + inkscape:connector-curvature="0" + d="M 44.123362,185.11382 V 98.607125" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker6249)" + sodipodi:nodetypes="cc" /> + inkscape:label="y_interval_major_mark" + inkscape:connector-curvature="0" + d="m 43.637172,167.88501 h -3.4745" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /> + inkscape:label="y_axis_label" + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:125%;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:end;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + xml:space="preserve"><tspan + style="font-size:4.23333311px;text-align:end;text-anchor:end;stroke-width:0.26458332px" + sodipodi:role="line">10</tspan></text> + sodipodi:nodetypes="cc" + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 63.393748,179.65255 v 1.35783" + inkscape:connector-curvature="0" + inkscape:label="x_interval_minor_mark" /> + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26499999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#marker6185)" + d="M 39.02135,179.37991 H 169.44888" + inkscape:connector-curvature="0" + inkscape:label="x_axis_line" /> + style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 68.420998,179.65255 v 3.4745" + inkscape:connector-curvature="0" + inkscape:label="x_interval_major_mark" /> + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:10.58333302px;line-height:125%;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:end;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;" + inkscape:label="x_axis_label" + transform="rotate(-90)"><tspan + style="font-size:4.23333311px;stroke-width:0.26458332px;text-anchor:end;text-align:end;">10</tspan></text> + transform="matrix(2.1611542,0,0,2.1611542,616.6367,256.27681)" + inkscape:label="HMI:Meter@/TRENDVAL0"> + id="desc3869">A sophisticated meter looking like real</desc> + d="M 63.610123,2.2017068 A 64.411957,64.411957 0 0 1 128.02208,-62.210247" + sodipodi:end="4.712389" + sodipodi:start="3.1415927" + sodipodi:ry="64.411957" + sodipodi:rx="64.411957" + sodipodi:cy="2.2017097" + sodipodi:cx="128.02208" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#00b4cf;stroke-width:1.74884677;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:url(#marker19820-3);marker-end:url(#marker25117-7);color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;font-variant-east_asian:normal;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter" /> + inkscape:label="needle" + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + d="M 130.96206,4.0725977 79.111776,-41.363223" + style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:0.92543143;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:29.63333321;stroke-opacity:1;marker-start:url(#DotM);marker-end:url(#marker26099)" /> + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="min"><tspan + style="text-align:end;text-anchor:end;fill:#ff6600;stroke-width:0.26458332px">-1</tspan></text> + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:125%;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="max"><tspan + style="text-align:center;text-anchor:middle;fill:#ff6600;stroke-width:0.26458332px" + sodipodi:role="line">1</tspan></text> + transform="matrix(2.1611542,0,0,2.1611542,630.36551,530.09036)" + inkscape:label="HMI:Meter@/TRENDVAL1"> + id="desc3869-1">A sophisticated meter looking like real</desc> + d="M 63.610123,2.2017068 A 64.411957,64.411957 0 0 1 128.02208,-62.210247" + sodipodi:end="4.712389" + sodipodi:start="3.1415927" + sodipodi:ry="64.411957" + sodipodi:rx="64.411957" + sodipodi:cy="2.2017097" + sodipodi:cx="128.02208" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:1.7488468;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:url(#marker19820-3);marker-end:url(#marker25117-7);color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;font-variant-east_asian:normal;vector-effect:none;stroke-linecap:butt;stroke-linejoin:miter" /> + inkscape:label="needle" + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + d="M 130.96206,4.0725977 79.111776,-41.363223" + style="opacity:1;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ff6600;stroke-width:0.92543143;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:29.63333321;stroke-opacity:1;marker-start:url(#DotM-3);marker-end:url(#marker26099-6)" /> + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="min"><tspan + style="text-align:end;text-anchor:end;fill:#ff6600;stroke-width:0.26458332px">-1</tspan></text> + style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:125%;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ff6600;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="max"><tspan + style="text-align:center;text-anchor:middle;fill:#ff6600;stroke-width:0.26458332px" + sodipodi:role="line">1</tspan></text> + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:125%;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="_blup"><tspan + y="83.8983">blup</tspan></text> + inkscape:label="HMI:DropDown:#langs@lang" + transform="matrix(0.81491208,0,0,0.81491208,42.49804,-160.06995)" + style="stroke-width:0.35083869"> + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#53676c;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.75419343;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" + inkscape:label="box" /> + inkscape:label="highlight" + style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.75419331;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" /> + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:35.95956421px;line-height:125%;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#d42aff;fill-opacity:1;stroke:none;stroke-width:0.35083869px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + inkscape:label="text"><tspan + style="text-align:start;text-anchor:start;fill:#d42aff;stroke-width:0.35083869px" + id="tspan421">Language (Country)</tspan></text> + style="opacity:1;vector-effect:none;fill:#a7a5a6;fill-opacity:1;stroke:none;stroke-width:0.12376806;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" + sodipodi:cx="1387.0236" + sodipodi:cy="977.31354" + sodipodi:r1="43.683521" + sodipodi:r2="21.841761" + sodipodi:arg1="1.5707963" + sodipodi:arg2="2.6179939" + inkscape:flatsided="false" + inkscape:randomized="0" + d="m 1387.0236,1020.9971 -18.9156,-32.76268 -18.9155,-32.76264 37.8311,0 37.831,0 -18.9155,32.76264 z" + inkscape:transform-center-y="10.92088" + inkscape:label="button" />