# HG changeset patch
# User Edouard Tisserant
# Date 1565180302 -7200
# Node ID 2694170cd88edb4c5951b7756bbe7fbe6550083d
# Parent 2769b3aed34d0fa1a4b6737fcde11a8865778b82
intermediate commit, work in progress
diff -r 2769b3aed34d -r 2694170cd88e svghmi/default.svg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/svghmi/default.svg Wed Aug 07 14:18:22 2019 +0200
@@ -0,0 +1,92 @@
+
+
+
+
diff -r 2769b3aed34d -r 2694170cd88e svghmi/pous.xml
--- a/svghmi/pous.xml Thu Jul 18 14:09:33 2019 +0200
+++ b/svghmi/pous.xml Wed Aug 07 14:18:22 2019 +0200
@@ -1,7 +1,7 @@
-
+
@@ -28,7 +28,7 @@
-
+
diff -r 2769b3aed34d -r 2694170cd88e svghmi/svghmi.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/svghmi/svghmi.c Wed Aug 07 14:18:22 2019 +0200
@@ -0,0 +1,6 @@
+
+void test_me(void){
+ /*
+ %(hmi_tree)
+ */
+}
diff -r 2769b3aed34d -r 2694170cd88e svghmi/svghmi.py
--- a/svghmi/svghmi.py Thu Jul 18 14:09:33 2019 +0200
+++ b/svghmi/svghmi.py Wed Aug 07 14:18:22 2019 +0200
@@ -28,7 +28,7 @@
class SVGHMILibrary(POULibrary):
def GetLibraryPath(self):
- return paths.AbsNeighbourFile(__file__, "pous.xml")
+ return paths.AbsNeighbourFile(__file__, "pous.xml")
def Generate_C(self, buildpath, varlist, IECCFLAGS):
@@ -90,6 +90,7 @@
if from_project_path is not None:
shutil.copyfile(self._getSVGpath(from_project_path),
self._getSVGpath())
+ return True
def CTNGenerate_C(self, buildpath, locations):
"""
diff -r 2769b3aed34d -r 2694170cd88e tests/svghmi/beremiz.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/svghmi/beremiz.xml Wed Aug 07 14:18:22 2019 +0200
@@ -0,0 +1,4 @@
+
+
+
+
diff -r 2769b3aed34d -r 2694170cd88e tests/svghmi/plc.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/svghmi/plc.xml Wed Aug 07 14:18:22 2019 +0200
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 2769b3aed34d -r 2694170cd88e tests/svghmi/svghmi_0@svghmi/baseconfnode.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/svghmi/svghmi_0@svghmi/baseconfnode.xml Wed Aug 07 14:18:22 2019 +0200
@@ -0,0 +1,2 @@
+
+
diff -r 2769b3aed34d -r 2694170cd88e tests/svghmi/svghmi_0@svghmi/confnode.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/svghmi/svghmi_0@svghmi/confnode.xml Wed Aug 07 14:18:22 2019 +0200
@@ -0,0 +1,2 @@
+
+
diff -r 2769b3aed34d -r 2694170cd88e tests/svghmi/svghmi_0@svghmi/gui.svg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/svghmi/svghmi_0@svghmi/gui.svg Wed Aug 07 14:18:22 2019 +0200
@@ -0,0 +1,92 @@
+
+
+
+