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

517 lines
22 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,265.0,40.0" text="Residential Irrigation" font="26.0pt Tahoma" foreground="white" halign="left"/>
<Label layout="30.0,120.0,470.0,410.0" image="file:^px/images/residential_lot.png"/>
<Label layout="110.0,180.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_360_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="150.0,250.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_360_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="45.0,250.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="30.0,200.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="180.0,125.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_south_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="20.0,145.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="85.0,115.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_south_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="200.0,200.0,60.0,60.0">
<ValueBinding ord="slot:Zone1">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_west_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="110.0,230.0,70.0,30.0" text="Zone 1" font="18.0pt Tahoma" foreground="#ff8000">
<ValueBinding ord="slot:Zone1" hyperlink="slot:Building"/>
</Label>
<Label layout="400.0,370.0,70.0,30.0" text="Zone 3" font="18.0pt Tahoma" foreground="#ff8000">
<ValueBinding ord="slot:Zone3" hyperlink="slot:Building"/>
</Label>
<Label layout="410.0,240.0,70.0,30.0" text="Zone 4" font="18.0pt Tahoma" foreground="#ff8000">
<ValueBinding ord="slot:Zone4" hyperlink="slot:Building"/>
</Label>
<Label layout="65.0,380.0,60.0,60.0">
<ValueBinding ord="slot:Zone2">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="130.0,480.0,60.0,60.0">
<ValueBinding ord="slot:Zone2">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_north_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="145.0,380.0,60.0,60.0">
<ValueBinding ord="slot:Zone2">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_west_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="80.0,440.0,60.0,60.0">
<ValueBinding ord="slot:Zone2">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="150.0,435.0,60.0,60.0">
<ValueBinding ord="slot:Zone2">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_west_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="100.0,375.0,70.0,30.0" text="Zone 2" font="18.0pt Tahoma" foreground="#ff8000">
<ValueBinding ord="slot:Zone1" hyperlink="slot:Building"/>
</Label>
<Label layout="205.0,450.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="205.0,395.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="340.0,380.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_360_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="405.0,295.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_360_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="270.0,470.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_north_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="420.0,450.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_north_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="455.0,380.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_west_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="455.0,320.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_west_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="310.0,330.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="345.0,280.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="455.0,270.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_west_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="345.0,215.0,60.0,60.0">
<ValueBinding ord="slot:Zone4">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_east_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="455.0,185.0,60.0,60.0">
<ValueBinding ord="slot:Zone4">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_west_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="410.0,155.0,60.0,60.0">
<ValueBinding ord="slot:Zone4">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_south_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="345.0,145.0,60.0,60.0">
<ValueBinding ord="slot:Zone4">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_south_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="280.0,140.0,60.0,60.0">
<ValueBinding ord="slot:Zone4">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_south_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Label layout="340.0,460.0,60.0,60.0">
<ValueBinding ord="slot:Zone3">
<IBooleanToSimple name="image">
<Image name="trueValue" value="file:^px/images/residential_sprinkler_north_on.png"/>
<Image name="falseValue" value="file:^px/images/residential_sprinkler_off.png"/>
</IBooleanToSimple>
</ValueBinding>
</Label>
<Rect fill="linearGradient( angle(90.0) stop(0.0% #283540) stop(100.0% #384b5a) )" geom="520.0,80.0,180.0,440.0"/>
<Bargraph layout="550.0,420.0,40.0,65.0" max="45.0" valueVisible="false" foreground="white">
<ValueBinding ord="slot:WaterPressure">
<INumericToNumber name="value"/>
</ValueBinding>
</Bargraph>
<Label layout="540.0,390.0,60.0,30.0" text="Water&#xa;Pressure" foreground="white"/>
<Label layout="540.0,485.0,60.0,20.0" foreground="white">
<ValueBinding ord="slot:WaterPressure/out">
<ObjectToString name="text" format="%value%"/>
<IStatusToSimple name="background">
<Brush name="disabled" value="#dddddd"/>
<Brush name="fault" value="#ffaa26"/>
<Brush name="down" value="yellow"/>
<Brush name="alarm" value="red"/>
<Brush name="stale" value="#d6cbae"/>
<Brush name="overridden" value="#d88aff"/>
<Brush name="nullStatus" value="null"/>
<Brush name="unackedAlarm" value="null"/>
</IStatusToSimple>
</ValueBinding>
</Label>
<Bargraph layout="630.0,420.0,40.0,65.0" max="35.0" valueVisible="false" foreground="white" scale="5.0">
<ValueBinding ord="slot:WaterFlow">
<INumericToNumber name="value"/>
</ValueBinding>
</Bargraph>
<Label layout="620.0,390.0,60.0,30.0" text="Water&#xa;Flow" foreground="white"/>
<Label layout="620.0,485.0,60.0,20.0" foreground="white">
<ValueBinding ord="slot:WaterFlow/out">
<ObjectToString name="text" format="%value%"/>
<IStatusToSimple name="background">
<Brush name="disabled" value="#dddddd"/>
<Brush name="fault" value="#ffaa26"/>
<Brush name="down" value="yellow"/>
<Brush name="alarm" value="red"/>
<Brush name="stale" value="#d6cbae"/>
<Brush name="overridden" value="#d88aff"/>
<Brush name="nullStatus" value="null"/>
<Brush name="unackedAlarm" value="null"/>
</IStatusToSimple>
</ValueBinding>
</Label>
<BoundLabel layout="215.0,80.0,145.0,20.0" font="11.0pt Tahoma" foreground="white" halign="left">
<BoundLabelBinding ord="station:|slot:/Services/WeatherService/Richmond/current/state/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Conditions: %.%"/>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="365.0,80.0,145.0,20.0" font="11.0pt Tahoma" foreground="white" halign="left">
<BoundLabelBinding ord="station:|slot:/Services/WeatherService/Richmond/day0/high/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="High Temp: %.%"/>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="365.0,100.0,145.0,20.0" font="11.0pt Tahoma" foreground="white" halign="left">
<BoundLabelBinding ord="station:|slot:/Services/WeatherService/Richmond/day0/low/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Low Temp: %.%"/>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="215.0,100.0,145.0,20.0" font="11.0pt Tahoma" foreground="white" halign="left">
<BoundLabelBinding ord="station:|slot:/Services/WeatherService/Richmond/day0/precipChance/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Chance Rain: %.%"/>
</BoundLabelBinding>
</BoundLabel>
<Button layout="365.0,130.0,100.0,20.0" text="Edit Schedule">
<ValueBinding hyperlink="station:|slot:/PxHome/Graphics/Residential/ExteriorIrrigation/EnumSchedule"/>
</Button>
<Button layout="630.0,135.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:Zone1/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,135.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:Zone1/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,135.0,45.0,20.0" text="On">
<ActionBinding ord="slot:Zone1/active" widgetEvent="actionPerformed"/>
</Button>
<Label layout="535.0,90.0,140.0,30.0" text="Zone 1" font="18.0pt Tahoma" foreground="#ff8000" halign="left"/>
<Button layout="630.0,205.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:Zone2/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,205.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:Zone2/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,205.0,45.0,20.0" text="On">
<ActionBinding ord="slot:Zone2/active" widgetEvent="actionPerformed"/>
</Button>
<Label layout="535.0,160.0,140.0,30.0" text="Zone 2" font="18.0pt Tahoma" foreground="#ff8000" halign="left"/>
<Button layout="630.0,270.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:Zone3/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,270.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:Zone3/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,270.0,45.0,20.0" text="On">
<ActionBinding ord="slot:Zone3/active" widgetEvent="actionPerformed"/>
</Button>
<Label layout="535.0,225.0,140.0,30.0" text="Zone 3" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding ord="slot:Zone3" hyperlink="slot:Building"/>
</Label>
<Button layout="630.0,340.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:Zone4/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,340.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:Zone4/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,340.0,45.0,20.0" text="On">
<ActionBinding ord="slot:Zone4/active" widgetEvent="actionPerformed"/>
</Button>
<Label layout="535.0,295.0,140.0,30.0" text="Zone 4" font="18.0pt Tahoma" foreground="#ff8000" halign="left"/>
<CurrentWeatherView layout="565.0,10.0,150.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>
<BoundLabel layout="540.0,115.0,145.0,20.0" font="11.0pt Tahoma" halign="left">
<BoundLabelBinding ord="slot:Zone1/out/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Status: %.%"/>
<IBooleanToSimple name="foreground">
<Brush name="trueValue" value="black"/>
<Brush name="falseValue" value="white"/>
</IBooleanToSimple>
<IBooleanToSimple name="background">
<Brush name="trueValue" value="#1bff00"/>
<Brush name="falseValue" value="null"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="540.0,185.0,145.0,20.0" font="11.0pt Tahoma" halign="left">
<BoundLabelBinding ord="slot:Zone2/out/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Status: %.%"/>
<IBooleanToSimple name="background">
<Brush name="trueValue" value="#1bff00"/>
<Brush name="falseValue" value="null"/>
</IBooleanToSimple>
<IBooleanToSimple name="foreground">
<Brush name="trueValue" value="black"/>
<Brush name="falseValue" value="white"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="540.0,250.0,145.0,20.0" font="11.0pt Tahoma" halign="left">
<BoundLabelBinding ord="slot:Zone3/out/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Status: %.%"/>
<IBooleanToSimple name="background">
<Brush name="trueValue" value="#1bff00"/>
<Brush name="falseValue" value="null"/>
</IBooleanToSimple>
<IBooleanToSimple name="foreground">
<Brush name="trueValue" value="black"/>
<Brush name="falseValue" value="white"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="540.0,320.0,145.0,20.0" font="11.0pt Tahoma" halign="left">
<BoundLabelBinding ord="slot:Zone4/out/value" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Status: %.%"/>
<IBooleanToSimple name="background">
<Brush name="trueValue" value="#1bff00"/>
<Brush name="falseValue" value="null"/>
</IBooleanToSimple>
<IBooleanToSimple name="foreground">
<Brush name="trueValue" value="black"/>
<Brush name="falseValue" value="white"/>
</IBooleanToSimple>
</BoundLabelBinding>
</BoundLabel>
</CanvasPane>
</ScrollPane>
</BorderPane>
</content>
</px>