Skip to content
Snippets Groups Projects
Commit 99d12974 authored by Mehdi Mohammednezhad's avatar Mehdi Mohammednezhad
Browse files

Add CPU08 and bcm01-cpu02 to the top page and modify the fw ver.

parent a30c79ab
No related branches found
No related tags found
1 merge request!20BCM OPI refactoring
......@@ -253,7 +253,57 @@
<SYSTEM9>LAB-009:PBI-BCM-009</SYSTEM9>
</macros>
<x>690</x>
<y>280</y>
<y>260</y>
<width>470</width>
<height>200</height>
</widget>
<widget type="embedded" version="2.0.0">
<name>Embedded Display_3</name>
<file>../../99-Shared/adsis8300bcm/bcm_inst.bob</file>
<macros>
<AMC_NAME>Ctrl-AMC-110</AMC_NAME>
<CONTROL_GROUP>BCM01-CPU02</CONTROL_GROUP>
<HV_EN>true</HV_EN>
<P>BCM01-CPU02:</P>
<R>Ctrl-AMC-110:</R>
<SYSTEM1>ISrc-010:PBI-BCM-001-CPU-002</SYSTEM1>
<SYSTEM10>DTL-040:PBI-BCM-001-CPU-002</SYSTEM10>
<SYSTEM2>LEBT-010:PBI-BCM-001-CPU-002</SYSTEM2>
<SYSTEM3>RFQ-010:PBI-BCM-001-CPU-002</SYSTEM3>
<SYSTEM4>MEBT-010:PBI-BCM-001-CPU-002</SYSTEM4>
<SYSTEM5>MEBT-010:PBI-BCM-002-CPU-002</SYSTEM5>
<SYSTEM6>DTL-010:PBI-BCM-001-CPU-002</SYSTEM6>
<SYSTEM7>DTL-020:PBI-BCM-001-CPU-002</SYSTEM7>
<SYSTEM8>ISrc-010:ISS-HVPf-CPU-002</SYSTEM8>
<SYSTEM9>DTL-030:PBI-BCM-001</SYSTEM9>
</macros>
<x>690</x>
<y>620</y>
<width>470</width>
<height>200</height>
</widget>
<widget type="embedded" version="2.0.0">
<name>Embedded Display_2</name>
<file>../../99-Shared/adsis8300bcm/bcm_inst.bob</file>
<macros>
<AMC_NAME>Ctrl-AMC-004</AMC_NAME>
<CONTROL_GROUP>LAB-BCM08</CONTROL_GROUP>
<HV_EN>true</HV_EN>
<P>LAB-BCM08:</P>
<R>Ctrl-AMC-004:</R>
<SYSTEM1>LAB-008:PBI-BCM-001</SYSTEM1>
<SYSTEM10>LAB-008:PBI-BCM-010</SYSTEM10>
<SYSTEM2>LAB-008:PBI-BCM-002</SYSTEM2>
<SYSTEM3>LAB-008:PBI-BCM-003</SYSTEM3>
<SYSTEM4>LAB-008:PBI-BCM-004</SYSTEM4>
<SYSTEM5>LAB-008:PBI-BCM-005</SYSTEM5>
<SYSTEM6>LAB-008:PBI-BCM-006</SYSTEM6>
<SYSTEM7>LAB-008:PBI-BCM-007</SYSTEM7>
<SYSTEM8>LAB-008:PBI-BCM-008</SYSTEM8>
<SYSTEM9>LAB-008:PBI-BCM-009</SYSTEM9>
</macros>
<x>694</x>
<y>440</y>
<width>470</width>
<height>200</height>
</widget>
......
......@@ -728,7 +728,7 @@ $(pv_value)</tooltip>
</widget>
<widget type="textupdate" version="2.0.0">
<name>Text Update_109</name>
<pv_name>$(P)$(R)BCMFWVersionR</pv_name>
<pv_name>loc://ver("0.0.0")</pv_name>
<x>1216</x>
<width>120</width>
<height>30</height>
......@@ -738,6 +738,20 @@ $(pv_value)</tooltip>
<wrap_words>false</wrap_words>
<actions>
</actions>
<scripts>
<script file="EmbeddedPy">
<text><![CDATA[# Embedded python script
from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil
print 'Hello'
# widget.setPropertyValue('text', PVUtil.getString(pvs[0]))
ver = PVUtil.getInt(pvs[0])
print ver
widget.getPV().setValue("{0}.{1}.{2}".format((ver>>24)&0x0f,(ver>>8)&0x0f,ver&0x0f)
]]></text>
<pv_name>$(P)$(R)BCMFWVersionR</pv_name>
</script>
</scripts>
<border_color>
<color red="0" green="128" blue="255">
</color>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment