Gets the resource status range.
Namespace:
GrassValley.Mseries.ControlAssembly: GrassValley.Mseries.Control (in GrassValley.Mseries.Control.dll) Version: 1.0.0.0
Syntax
C# |
---|
public Object GetResourceStatusRange( string resType, int resNum, string statusQuery, ref int startTick, ref int endTick ) |
Visual Basic (Declaration) |
---|
Public Function GetResourceStatusRange ( _ resType As String, _ resNum As Integer, _ statusQuery As String, _ ByRef startTick As Integer, _ ByRef endTick As Integer _ ) As Object |
Visual C++ |
---|
public: virtual Object^ GetResourceStatusRange( String^ resType, int resNum, String^ statusQuery, int% startTick, int% endTick ) sealed |
Parameters
- resType
- Type: System..::.String
Resource type.
- resNum
- Type: System..::.Int32
Resource num.
- statusQuery
- Type: System..::.String
Status query.
- startTick
- Type:
System..::.Int32
%
Start tick.
- endTick
- Type:
System..::.Int32
%
End tick.
Return Value
object or object arrayImplements
ISimpleController..::.GetResourceStatusRange(String, Int32, String, Int32%, Int32%)Remarks
The memory-mapped file that lies beneath the ChannelStatus object stores
one second of values for each status name, one value per frame. GetStatus
returns the most recent value. GetStatusRange allows you to retrieve any
portion of this status history. The result is always an object array.
When returning more than one parameter value, result is an array of
arrays, one array per requested parameter. Since each value is stamped
with an update number, the startUpdateNum parameter can be used to request
a portion of the status history. This value is usually the EndUpdateNum
from the last call to GetStatusRange.