Interface ITimeBaseServiceClient
Timebase service client.
Namespace: MAT.Atlas.Automation.Client.Services.Interface
Assembly: MAT.Atlas.Automation.Client.dll
Syntax
public interface ITimeBaseServiceClient
Methods
GetTimeBase(ObjectId)
Get the properties of a timebase.
Declaration
TimeBase GetTimeBase(ObjectId timeBaseId)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
Returns
Type | Description |
---|---|
TimeBase | Timebase properties. |
SetCursor(ObjectId, Int64)
Set time stamp of cursor.
Declaration
void SetCursor(ObjectId timeBaseId, long time)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Int64 | time | Time stamp of cursor (nanoseconds). |
SetCursorToDistance(ObjectId, Double)
Set cursor to distance (absolute).
Declaration
void SetCursorToDistance(ObjectId timeBaseId, double distance)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Double | distance | Distance of cursor into session (absolute). |
SetCursorToDistanceIntoLap(ObjectId, Double, Int16)
Set cursor to distance into lap.
Declaration
void SetCursorToDistanceIntoLap(ObjectId timeBaseId, double distance, short lapNumber)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Double | distance | Distance of cursor into lap. |
System.Int16 | lapNumber | Lap number. |
SetCursorVba(ObjectId, Double)
Set time stamp of cursor.
Declaration
void SetCursorVba(ObjectId timeBaseId, double time)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Double | time |
SetTimeBase(ObjectId, Int64, Int64)
Set time range of timebase.
Declaration
void SetTimeBase(ObjectId timeBaseId, long startTime, long endTime)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Int64 | startTime | Start of time range (nanoseconds). |
System.Int64 | endTime | End of time range (nanoseconds). |
SetTimeBaseByLap(ObjectId, Int16)
Set timebase from a lap.
Declaration
void SetTimeBaseByLap(ObjectId timeBaseId, short lapNumber)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Int16 | lapNumber | Number of lap. |
SetTimeBaseByLaps(ObjectId, Int16, Int16)
Set timebase from a range of laps.
Declaration
void SetTimeBaseByLaps(ObjectId timeBaseId, short lapNumberStart, short lapNumberEnd)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Int16 | lapNumberStart | Number of start lap. |
System.Int16 | lapNumberEnd | Number of end lap. |
SetTimeBaseFastestLap(ObjectId)
Set timebase from fastest lap.
Declaration
void SetTimeBaseFastestLap(ObjectId timeBaseId)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
SetTimeBaseVba(ObjectId, Double, Double)
Set time range of timebase for VBA.
Declaration
void SetTimeBaseVba(ObjectId timeBaseId, double startTime, double endTime)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
System.Double | startTime | |
System.Double | endTime |
SubscribeTimeBaseChanged(ObjectId)
Start monitoring a timebase for changes.
Declaration
void SubscribeTimeBaseChanged(ObjectId timeBaseId)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |
UnsubscribeTimeBaseChanged(ObjectId)
Stop monitoring a timebase for changes.
Declaration
void UnsubscribeTimeBaseChanged(ObjectId timeBaseId)
Parameters
Type | Name | Description |
---|---|---|
ObjectId | timeBaseId | Unique identifier of a timebase. |