Set Status Funktionen hinzugefügt um jeweils die Farbe der Shapes nach Zustand zu ändern

This commit is contained in:
Simon Schmutzler
2024-06-05 16:45:55 +02:00
parent 19a0110650
commit c876f8090b
6 changed files with 449 additions and 45 deletions
@@ -0,0 +1,54 @@
{
"shapeMode": 0,
"name": "Gefällestrecke_Falsch",
"family": "Gefaellestrecke",
"icon": "SSG/shapes/img/Gefaellestrecke.png",
"iconBig": "SSG/shapes/img/Gefaellestrecke.png",
"srcSVG": "SSG/shapes/svg/Gefaellestrecke_Default.xml",
"text": "^",
"width": 377.9528,
"height": 6047.2441,
"depth": 755.9055,
"behaviour": "(NOSTRETCH)(NOSTRETCHONVIEW)(NOROTATE)(NOROTATEONVIEW)(CONTAINER)(HIDEDIMENSIONS)(HIDEROTATION)(HIDEPIN)(ALWAYSFRONT)(ORIGIN=CENTER)",
"connectionPoints": [
{
"id": "cp1",
"x": 500.0,
"y": 0.0,
"z": 0.0,
"xMin": "",
"xMax": "",
"xStep": "",
"yMin": "",
"yMax": "",
"yStep": "",
"zMin": "",
"zMax": "",
"zStep": "",
"direction": 0.0,
"linkClass": "Gefaellestrecke",
"label": "Oben",
"isDimension": true
},
{
"id": "cp2",
"x": 500.0,
"y": 1000.0,
"z": 0.0,
"xMin": "",
"xMax": "",
"xStep": "",
"yMin": "",
"yMax": "",
"yStep": "",
"zMin": "",
"zMax": "",
"zStep": "",
"direction": 180.0,
"linkClass": "Gefaellestrecke",
"label": "Unten",
"isDimension": true
}
],
"eventClass": "OnInserted,OnDoubleclick,OnPasted,OnLinked"
}
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<g transform="rotate(0)">
<svg viewBox="0 0 26.45833 264.58333" preserveAspectRatio="none" position="absolute" overflow="visible">
<defs />
<g transform="translate(0,-13.203638)">
<path style="opacity:0.94;fill:none;stroke-opacity:1" d="M 13.65157,13.203638 V 277.78696" stroke-width="1px" stroke="#ffa700" />
</g>
</svg>
</g>
</svg>
@@ -4,7 +4,7 @@
<svg viewBox="0 0 26.45833 264.58333" preserveAspectRatio="none" position="absolute" overflow="visible">
<defs />
<g transform="translate(0,-13.203638)">
<path style="opacity:0.94;fill:none;stroke-opacity:1" d="M 13.65157,13.203638 V 277.78696" stroke-width="1px" stroke="#f44336" />
<path style="opacity:0.94;fill:none;stroke-opacity:1" d="M 13.65157,13.203638 V 277.78696" stroke-width="1px" stroke="#f33256" />
</g>
</svg>
</g>
@@ -4,7 +4,7 @@
<svg viewBox="0 0 26.45833 264.58333" preserveAspectRatio="none" position="absolute" overflow="visible">
<defs />
<g transform="translate(0,-13.203638)">
<path style="opacity:0.94;fill:none;stroke-opacity:1" d="M 13.65157,13.203638 V 277.78696" stroke-width="1px" stroke="#00ff00" />
<path style="opacity:0.94;fill:none;stroke-opacity:1" d="M 13.65157,13.203638 V 277.78696" stroke-width="1px" stroke="#6C6E70" />
</g>
</svg>
</g>