The weather module supports “drag and drop” usage of some weather components directly onto Px pages, providing iconic views.
Figure 2 above shows a WeatherReport dragged onto a Px page, with the resulting “Make Widget” dialog and default selection (Current Weather View). After adding and at runtime this appears as in Figure 3.
Icons change with weather conditions (along with text) as needed to track characteristics like cloudy, rain, wind, night time, and so on. The following weather components provide this “drag and drop” Px support:
WeatherReport — for the Current Weather View (as shown in example above). For more details, see WeatherReport and Current Weather View.
Starting in AX-3.6, a WeatherReport also provides a “Current Air Quality View”, including drag-and-drop support onto a Px page. See Current Air Quality View.
Current, Today, Tomorrow, <daysOfWeek> — for a Forecast View. For more details, see Forecast View.
MoonPosition — for a Moon View. This component is unrelated to any specific WeatherReport. For more details see MoonPosition.
Starting in AX-3.5, the standard “demo” station database (distributed with Niagara Workbench) was modified to include an example “Custom” WeatherProvider under its WeatherService. It has a Px view that provides a “dashboard” of Weather Conditions, demonstrating various Px techniques and bindings to slots under the configured NwsWeatherProvider (adjustable). Figure 4 shows this view in Workbench.
If you run the demo station on your computer, you can see this Px interface by pointing your browser to http://localhost/ord?station:│slot:/Services/WeatherService/Custom
The example shown above is using AX-3.6, as evidenced by the included “Air Quality” entry, using the color-based “Current Air Quality View”. If running the demo station on an AX-3.5 host, this Px view (on its “Custom” NwsWeatherProvider) is nearly identical, but without this air quality entry.
Copyright © 2000-2016 Tridium Inc. All rights reserved.