niagara-ax/stations/demo/px/Residential.px
2026-03-17 13:31:18 -07:00

92 lines
4.3 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<!-- Niagara Presentation XML -->
<px version="1.0" media="workbench:WbPxMedia">
<import>
<module name="baja"/>
<module name="bajaui"/>
<module name="converters"/>
<module name="gx"/>
<module name="kitPx"/>
<module name="weather"/>
<module name="workbench"/>
</import>
<content>
<BorderPane padding="0.0" border="1.0 inset black">
<ScrollPane name="content">
<CanvasPane name="content" viewSize="730.0,550.0" background="linearGradient( stop(0.0% #004b6981) stop(0.0% #384b5a) stop(50.0% #4b6981) stop(100.0% #384b5a) )">
<Rect fill="#283540" stroke="black" geom="10.0,60.0,710.0,480.0"/>
<Rect fill="black" stroke="black" geom="10.0,10.0,710.0,50.0"/>
<Label layout="25.0,15.0,185.0,40.0" text="Residential" font="26.0pt Tahoma" foreground="white" halign="left"/>
<Label layout="40.0,95.0,390.0,370.0" image="file:^px/images/residential_floorplan.png"/>
<Label layout="495.0,105.0,205.0,30.0" text="Exterior Lighting" image="file:^px/images/arrow.png" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding hyperlink="slot:ExteriorLighting"/>
</Label>
<Label layout="495.0,136.0,205.0,29.0" text="Exterior Irrigation" image="file:^px/images/arrow.png" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding hyperlink="slot:ExteriorIrrigation"/>
</Label>
<Label layout="495.0,200.0,205.0,20.0" text="First Floor" image="file:^px/images/arrow.png" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding hyperlink="slot:FirstFloor"/>
</Label>
<Label layout="495.0,270.0,205.0,20.0" text="Second Floor" image="file:^px/images/arrow.png" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding hyperlink="slot:SecondFloor"/>
</Label>
<CurrentWeatherView layout="560.0,10.0,160.0,50.0" iconSize="x32" tempFont="bold 11.0pt Tahoma" tempBrush="white" stateFont="11.0pt Tahoma" stateBrush="white">
<WbViewBinding ord="station:|slot:/Services/WeatherService/Richmond"/>
</CurrentWeatherView>
<Rect fill="linearGradient( angle(90.0) stop(0.0% #283540) stop(100.0% #384b5a) )" geom="360.0,380.0,340.0,140.0"/>
<AnalogMeter layout="590.0,410.0,98.0,101.0" startAngle="180" arcAngle="180" max="50.0" numDivisions="4" numSubDivisions="10" valueFont="14.0pt Tahoma" background="white">
<ValueBinding ord="slot:Electric/out/value" hyperlink="slot:|view:Residential_Charting" summary="%.%">
<ObjectToString name="text"/>
<INumericToNumber name="value"/>
</ValueBinding>
</AnalogMeter>
<Label layout="590.0,390.0,100.0,20.0" text="Electricity" font="12.0pt Tahoma" foreground="white" valign="top"/>
<Label layout="480.0,390.0,100.0,20.0" text="Gas" font="12.0pt Tahoma" foreground="white" valign="top"/>
<AnalogMeter layout="480.0,410.0,98.0,101.0" startAngle="180" arcAngle="180" max="5.0" numDivisions="4" numSubDivisions="10" valueFont="14.0pt Tahoma" background="white">
<ValueBinding ord="slot:Gas/out/value" hyperlink="slot:|view:Residential_Charting" summary="%.%">
<ObjectToString name="text"/>
<INumericToNumber name="value"/>
</ValueBinding>
</AnalogMeter>
<Label layout="370.0,390.0,100.0,20.0" text="Water" font="12.0pt Tahoma" foreground="white" valign="top"/>
<AnalogMeter layout="370.0,410.0,98.0,101.0" startAngle="180" arcAngle="180" max="5.0" numDivisions="4" numSubDivisions="10" valueFont="14.0pt Tahoma" background="white">
<ValueBinding ord="slot:Water/out/value" hyperlink="slot:|view:Residential_Charting" summary="%.%">
<ObjectToString name="text"/>
<INumericToNumber name="value"/>
</ValueBinding>
</AnalogMeter>
<Label layout="495.0,230.0,205.0,20.0" text="First Floor Air Handler" image="file:^px/images/arrow.png" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding hyperlink="slot:FirstFloor/AirHandler"/>
</Label>
<Label layout="495.0,295.0,225.0,20.0" text="Second Floor Air Handler" image="file:^px/images/arrow.png" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding hyperlink="slot:SecondFloor/AirHandler"/>
</Label>
</CanvasPane>
</ScrollPane>
</BorderPane>
</content>
</px>