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

225 lines
9.2 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,485.0,40.0" text="Residential Exterior Lighting" font="26.0pt Tahoma" foreground="white" halign="left"/>
<Label layout="30.0,105.0,470.0,410.0" image="file:^px/images/residential_lot.png"/>
<Rect fill="linearGradient( angle(90.0) stop(0.0% #283540) stop(100.0% #384b5a) )" geom="520.0,70.0,180.0,440.0"/>
<Polygon fill="linearGradient( angle(-90.0) stop(0.0% #f3ff00) stop(100.0% #00f8ff00) )" geom="296.0,370.0 246.0,420.0 296.0,420.0 346.0,420.0 ">
<ValueBinding ord="slot:FloodLightSouth/out/value">
<IBooleanToSimple name="visible"/>
</ValueBinding>
</Polygon>
<Polygon fill="linearGradient( angle(90.0) stop(0.0% #f3ff00) stop(100.0% #00f8ff00) )" geom="340.0,155.0 280.0,155.0 340.0,205.0 390.0,155.0 ">
<ValueBinding ord="slot:FloodLightNorth">
<IBooleanToSimple name="visible"/>
</ValueBinding>
</Polygon>
<Polygon fill="linearGradient( stop(0.0% #f3ff00) stop(100.0% #00f8ff00) )" geom="415.0,275.0 365.0,225.0 415.0,175.0 415.0,225.0 ">
<ValueBinding ord="slot:FloodLightEast">
<IBooleanToSimple name="visible"/>
</ValueBinding>
</Polygon>
<Polygon fill="linearGradient( stop(0.0% #f3ff00) stop(100.0% #00f8ff00) )" geom="415.0,355.0 365.0,305.0 415.0,255.0 415.0,305.0 ">
<ValueBinding ord="slot:FloodLightEast">
<IBooleanToSimple name="visible"/>
</ValueBinding>
</Polygon>
<Polygon fill="linearGradient( angle(180.0) stop(0.0% #f3ff00) stop(100.0% #00f8ff00) stop(100.0% #00f8ff00) )" geom="205.0,405.0 205.0,355.0 205.0,305.0 260.0,355.0 ">
<ValueBinding ord="slot:Garage">
<IBooleanToSimple name="visible"/>
</ValueBinding>
</Polygon>
<Ellipse fill="radialGradient( stop(0.0% #eeff00) stop(100.0% #00fdff00) stop(100.0% #00fdff00) )" geom="230.0,255.0,50.0,50.0">
<ValueBinding ord="slot:Porch">
<IBooleanToSimple name="visible"/>
</ValueBinding>
</Ellipse>
<Ellipse fill="radialGradient( stop(0.0% #eeff00) stop(100.0% #00fdff00) )" geom="55.0,220.0,120.0,120.0">
<ValueBinding ord="slot:LampPost">
<IBooleanToSimple name="visible"/>
</ValueBinding>
</Ellipse>
<Ellipse fill="#838383" stroke="black" geom="110.0,275.0,10.0,10.0">
<ValueBinding ord="slot:LampPost"/>
</Ellipse>
<Ellipse fill="#838383" stroke="black" geom="260.0,350.0,10.0,10.0">
<ValueBinding ord="slot:Garage"/>
</Ellipse>
<Ellipse fill="#838383" stroke="black" geom="290.0,360.0,10.0,10.0">
<ValueBinding ord="slot:FloodLightSouth/out/value"/>
</Ellipse>
<Ellipse fill="#838383" stroke="black" geom="360.0,300.0,10.0,10.0">
<ValueBinding ord="slot:FloodLightEast"/>
</Ellipse>
<Ellipse fill="#838383" stroke="black" geom="360.0,220.0,10.0,10.0">
<ValueBinding ord="slot:FloodLightEast"/>
</Ellipse>
<Ellipse fill="#838383" stroke="black" geom="335.0,200.0,10.0,10.0">
<ValueBinding ord="slot:FloodLightNorth"/>
</Ellipse>
<Ellipse fill="#838383" stroke="black" geom="250.0,275.0,10.0,10.0">
<ValueBinding ord="slot:Porch"/>
</Ellipse>
<Label layout="540.0,90.0,140.0,30.0" text="Lamp Post" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding ord="slot:LampPost"/>
</Label>
<Label layout="540.0,160.0,140.0,30.0" text="Porch Light" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding ord="slot:Porch"/>
</Label>
<Label layout="540.0,300.0,140.0,30.0" text="East Floodlight" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding ord="slot:FloodLightEast"/>
</Label>
<Label layout="540.0,370.0,140.0,30.0" text="South Floodlight" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding ord="slot:FloodLightSouth"/>
</Label>
<Label layout="540.0,440.0,140.0,30.0" text="North Floodlight" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding ord="slot:FloodLightNorth"/>
</Label>
<Button layout="540.0,120.0,45.0,20.0" text="On">
<ActionBinding ord="slot:LampPost/active" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,120.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:LampPost/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="630.0,120.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:LampPost/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,190.0,45.0,20.0" text="On">
<ActionBinding ord="slot:Porch/active" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,190.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:Porch/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="630.0,190.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:Porch/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,330.0,45.0,20.0" text="On">
<ActionBinding ord="slot:FloodLightEast/active" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,330.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:FloodLightEast/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="630.0,330.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:FloodLightEast/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,400.0,45.0,20.0" text="On">
<ActionBinding ord="slot:FloodLightSouth/active" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,400.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:FloodLightSouth/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="630.0,400.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:FloodLightSouth/auto" widgetEvent="actionPerformed"/>
</Button>
<Button layout="540.0,470.0,45.0,20.0" text="On">
<ActionBinding ord="slot:FloodLightNorth/active" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,470.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:FloodLightNorth/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="630.0,470.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:FloodLightNorth/auto" widgetEvent="actionPerformed"/>
</Button>
<Label layout="540.0,230.0,140.0,30.0" text="Garage" font="18.0pt Tahoma" foreground="#ff8000" halign="left">
<ValueBinding ord="slot:Garage"/>
</Label>
<Button layout="540.0,260.0,45.0,20.0" text="On">
<ActionBinding ord="slot:Garage/active" widgetEvent="actionPerformed"/>
</Button>
<Button layout="585.0,260.0,45.0,20.0" text="Off">
<ActionBinding ord="slot:Garage/inactive" widgetEvent="actionPerformed"/>
</Button>
<Button layout="630.0,260.0,45.0,20.0" text="Auto">
<ActionBinding ord="slot:Garage/auto" widgetEvent="actionPerformed"/>
</Button>
<BoundLabel layout="340.0,80.0,170.0,20.0" font="11.0pt Tahoma" foreground="white" halign="left">
<BoundLabelBinding ord="station:|slot:/Services/WeatherService/Richmond/current/sunrise" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Sunrise: %.%"/>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="340.0,100.0,170.0,20.0" font="11.0pt Tahoma" foreground="white" halign="left">
<BoundLabelBinding ord="station:|slot:/Services/WeatherService/Richmond/current/sunset" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Sunset: %.%"/>
</BoundLabelBinding>
</BoundLabel>
<BoundLabel layout="340.0,120.0,170.0,20.0" font="11.0pt Tahoma" foreground="white" halign="left">
<BoundLabelBinding ord="station:|slot:/Services/WeatherService/Richmond/provider/SunPosition/currentElevation" summary="%.%" statusEffect="none">
<ObjectToString name="text" format="Sun Elevation: %.%"/>
</BoundLabelBinding>
</BoundLabel>
<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>
</CanvasPane>
</ScrollPane>
</BorderPane>
</content>
</px>