...
Info | ||
---|---|---|
| ||
<parameters> <parameter type="Integer" name="Missing" description="Missing Record Count" default="0" min="-1" max="100"/> <parameter type="Boolean" name="IncludeStation" description="Include Station Meters" default="false" /> <parameter type="Device" name="DeviceName" description="Device" default="0" /> </parameters> |
Supported Parameter Types
Type | Description |
---|---|
DateTime Date | A value representing a datetime. Modifiers can be used to set a default. Uses the default attribute of the parameter node. See Supported Custom Defaults below. |
Boolean | A value representing a choice of True or False. The UI will display a toggle or checkbox control. |
Integer | A value representing a generic number such as a number of days or hours. The UI will display a number entry control. |
Device | A value representing a device object number. The UI will display a listing of protocol devices to choose from. |
Object | A value representing an object number. The UI will display a listing of objects to choose from. |
Meter | A value representing a meter object number. The UI will display a listing of meters to choose from. |
Archive | A value representing an archive object number. The UI will display a listing of archives to choose from. |
Publisher | A value representing a publisher object number. The UI will display a listing of publishers to choose from. |
Filter | A value representing an archive filter object number. The UI will display a listing of archive filters to choose from. |
Supported Custom Defaults
Type | Description |
---|---|
Current | The current date and time as of executing the SQL. |
TopHour | The current top of hour as of executing the SQL. Example: Current Time=12:30PM, TopHour=12:00PM |
StartDay | The current date as of executing the SQL. |
EndDay | The current date plus 1 day as of executing the SQL. |
Yesterday | The current date minus 1 day as of executing the SQL. |
PriorHour | The last top hour minus 1 hour from current date and time as of executing the SQL. Example: Current Time=12:30PM, PriorHour=11:00AM |
NextHour | The next top of hour plus 1 hour from current date and time as of executing the SQL. Example: Current Time=12:30PM, NextHour=1:00PM |
StartMonth | The date of the first day of the current month as of executing the SQL. |
Examples
Info | ||
---|---|---|
| ||
<?xml version="1.0" encoding="utf-8" ?> Note: Stored Procedure Parameters are preceded by the "@" character. The matches the name of the corresponding parameter. |
...