Commit cf028cd0 authored by Franck Cecillon's avatar Franck Cecillon

add gui

parent 63f70ec9
d17samplechanger.speedPrefix=speed
d17samplechanger.phasePrefix=phase
chopperNCS.speed=speed
chopperNCS.wanted_speed=Wanted speed
chopperNCS.actual_speed=speed
chopperNCS.setpointSpeedPrefix=speed
chopperNCS.rPM=RPM
\ No newline at end of file
<controller_plugin_config type="chopperNCS">
<image key="CHOPPER"/>
<settings view="chopperNCSView.xml"/>
</controller_plugin_config>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<controller type="chopperNCS">
<property name="actual_speed" type="int32">
</property>
<property name="wanted_speed" type="int32">
</property>
<property name="actual_phase" type="Double">
</property>
<property name="wanted_phase" type="Double">
</property>
<property name="nbChopper" type="int32">
</property>
<dynamic_property name="currentSpeed" size_property="nbChopper" type="int32" max_length="6">
</dynamic_property>
<dynamic_property name="currentPhase" size_property="nbChopper" type="Double" max_length="6">
<decimal_format nb_decimal_places="2"/>
</dynamic_property>
</controller>
<plugin>
<controller type="chopperNCS" role="chopperNCS1"/>
<table_composite nbColumns="2">
<simple_label prefix="chopperNCS.speedPrefix" font_style="BOLD" hAlignment="center"/>
<simple_label prefix="chopperNCS.phasePrefix" font_style="BOLD" hAlignment="center"/>
<dynamic_composite role="chopperNCS1" properties="currentSpeed,currentPhase">
<text role="chopperNCS1" property="currentSpeed"/>
<text role="chopperNCS1" property="currentPhase"/>
</dynamic_composite>
</table_composite>
<summary>
<summary_content>
<simple_label prefix="chopperNCS.wanted_speed" spaceBefore="false"/>
<text role="chopperNCS1" property="wanted_speed" suffix="chopperNCS.rPM"/>
<newLine/>
<simple_label prefix="chopperNCS.actual_speed" spaceBefore="false"/>
<label role="chopperNCS1" property="actual_speed" suffix="chopperNCS.rPM"/>
<newLine/>
<label role="chopperNCS1" property="wanted_speed" suffix="chopperNCS.rPM" prefix="chopperNCS.setpointSpeedPrefix"/>
<newLine/>
</summary_content>
</summary>
</plugin>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment