Returns information provided by Wonderware Historian regarding B26 sheller production for a single day at hourly resolution.
URL | https://cap.crainwalnut.com/api/wonderware/sheller26hourly |
---|---|
Method | GET |
Name | Data Type | Description |
---|---|---|
date | DateTime | Designates a limiting factor for the returned collection. Only production that occurred during the specified date will be included |
An array of objects of anonymous type with the following definition
Name | Data Type | Description |
---|---|---|
SeqNumber | Integer |
A number designating the ordered rank of the record within the entire collection |
HourNumber | Integer |
Hour associated with the record |
Name | String |
A friendly name for the record |
StartTime | DateTime |
Designates the beginning of data for the record |
EndTime | DateTime |
Designates the end of data for the record, within the precision of the underlying storage type |
MinutesInHour | Integer |
The total number of minutes within the hour. Note that this is not always 60. For more information, see remarks below |
Pounds | Integer |
Amount of production that took place |
InshellUpTime | TimeSpan |
Total span during which inshell infeed was active |
InshellUpRatio | Decimal |
Ratio of time inshell infeed was active versus total amount of time it could have been active |
CrackerUpRatio | Decimal |
Ratio of time sheller lines were active versus total amount of time they could have been active |
DischargeUpTime | TimeSpan |
Total span during which east/west Syntrons were active |
SourceConcat | String |
Concatenation of infeed source names that were active |
Data returned from this endpoint is retrieved by querying Wonderware using wwRetrievalMode='DELTA'
beginning at 7:00 am (local time) on the specified date and running through 6:59:59.997 the following day, which corresponds to a complete set of day/swing/night shifts. The use of 6:59.59.997 as an ending time represents the maximum representable time value for the underlying data store’s type, which has a precision of 3 milliseconds. Time values greater would be rounded by the data store, with 6:59:59.998 being rounded back to 6:59.59.997 and 6:59.59.999 being rounded forward to 7:00:00.000.
Data is returned as a series of records, each corresponding to a specific hour within the time span. Since hours are cyclical, a sequence number is provided for ease of ordering the records.
MinutesInHour represents the total number of minutes within the hour of a given record. While this value will generally be 60, that will not always be the case. In particular, a transition from daylight saving time to standard time will cause an hour to repeat and result in that hour having 120 minutes. All uptime calculations factor the appropriate number of minutes in an hour.
Tags used for production are:
Tag used for inshell infeed is: INSHELL_ELEVATOR.At_Speed
Tags used for cracker uptime are:
Tags used for discharge uptime are: