Forum Home › Forums › Development and Integration › add new condition ins scada scheme V5
- This topic has 6 replies, 4 voices, and was last updated 2 years, 3 months ago by
Mikhail.
-
AuthorPosts
-
August 10, 2023 at 1:26 pm #13212
anaisthrl
ParticipantHello,
We want to add new conditions to scadascheme components. Should I integrate them directly or use a plugin?
Thanks for your advice.
August 11, 2023 at 7:11 am #13215
manjey73ParticipantIt is better to do it through a plugin, for the possibility of transferring later to version 6. But given that version 5 is no longer being developed, you can do it directly, but it will only work in version 5. If you write directly in version 6, then after updates you will have to integrate the code again and again after each update.
August 11, 2023 at 9:01 am #13217
MikhailModeratorHi,
Please provide more info related to the question.
August 21, 2023 at 7:29 am #13228anaisthrl
ParticipantAdd the notion of “condition” on the following properties of a schema editor object: Background color, text, visibility, width, height.
Background color
Text content
Visible / Invisible
Width
Height
blinking (even slow/fast option, but less critical)
bar graphUses:
-Color of an LED or of a text background according to the value of a word. In red if word value = 1, in green if =2 etc…
-How to make the text appear according to the value of a word. This works for an output channel (with values commands).
Example: if word value =0, write AUTO in the dynamic text, if =1, write MANU etc…-How to create a visibility condition of an object relative to the value of an input channel
-Bar-graph objects with interior filling according to the value of a word and its mini and maxi.
August 21, 2023 at 9:06 am #13230
MikhailModeratorI think, it’s better to develop new components using the existing components as base classes, or as examples.
August 21, 2023 at 12:17 pm #13231
mgmoukParticipantHello @Mikhail,
How should we proceed if we wish to apply these conditions to components such as “Dynamic Picture” or “Dynamic Text” in RapidSCADA? Do we need to create new components that inherit from these foundational classes and then add the conditions? Alternatively, can we directly integrate the conditions into these classes? (I understand this would also need to be applied to scadaweb.) Is there another approach we could consider?
This relates to the question I posed earlier at this link: https://forum.rapidscada.org/?topic=add-new-conditions
August 22, 2023 at 11:40 am #13234
MikhailModeratorHi,
My be it’s better to create new components inheriting them from the existing, because in this case you have more freedom to add new features.
-
AuthorPosts
- You must be logged in to reply to this topic.