Interface ISessionService
  
  
  
  
  Assembly: MAT.Atlas.Automation.Api.dll
  Syntax
  
    [AutomationService("Session")]
public interface ISessionService : IAutomationService
   
  Methods
  
  
  AddDataToTransientParameter(SessionId, String, Int64, Int64, Double[])
  
  
  Declaration
  
    void AddDataToTransientParameter(SessionId sessionId, string parameterIdentifier, long startTime, long interval, double[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        parameterIdentifier | 
         | 
      
      
        | System.Int64 | 
        startTime | 
         | 
      
      
        | System.Int64 | 
        interval | 
         | 
      
      
        | System.Double[] | 
        values | 
         | 
      
    
  
  
  AddOrUpdateSessionDetail(SessionId, String, String)
  
  
  Declaration
  
    SessionDetail AddOrUpdateSessionDetail(SessionId sessionId, string name, string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        name | 
         | 
      
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns
  
  
  AddSessionEvent(SessionId, Int64, String, String, EventPriority, Boolean, Double[])
  
  
  Declaration
  
    void AddSessionEvent(SessionId sessionId, long timestamp, string description, string groupName, EventPriority eventPriority, bool persist, double[] rawData)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.Int64 | 
        timestamp | 
         | 
      
      
        | System.String | 
        description | 
         | 
      
      
        | System.String | 
        groupName | 
         | 
      
      
        | EventPriority | 
        eventPriority | 
         | 
      
      
        | System.Boolean | 
        persist | 
         | 
      
      
        | System.Double[] | 
        rawData | 
         | 
      
    
  
  
  AddTimeDataToTransientParameter(SessionId, String, Int64[], Double[])
  
  
  Declaration
  
    void AddTimeDataToTransientParameter(SessionId sessionId, string parameterIdentifier, long[] timestamps, double[] values)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        parameterIdentifier | 
         | 
      
      
        | System.Int64[] | 
        timestamps | 
         | 
      
      
        | System.Double[] | 
        values | 
         | 
      
    
  
  
  AddTransientParameter(SessionId, String, String, String, String[], Double, Double)
  
  
  Declaration
  
    Parameter AddTransientParameter(SessionId sessionId, string identifier, string name, string description, string[] groups, double minimum, double maximum)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        identifier | 
         | 
      
      
        | System.String | 
        name | 
         | 
      
      
        | System.String | 
        description | 
         | 
      
      
        | System.String[] | 
        groups | 
         | 
      
      
        | System.Double | 
        minimum | 
         | 
      
      
        | System.Double | 
        maximum | 
         | 
      
    
  
  Returns
  
  
  AppendSessions(SessionId, String[])
  
  
  Declaration
  
    void AppendSessions(SessionId sessionId, string[] filePaths)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String[] | 
        filePaths | 
         | 
      
    
  
  
  AppendSessionsWithAssociates(SessionId, String[], Int64[])
  
  
  Declaration
  
    void AppendSessionsWithAssociates(SessionId sessionId, string[] filePaths, long[] versions)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String[] | 
        filePaths | 
         | 
      
      
        | System.Int64[] | 
        versions | 
         | 
      
    
  
  
  AppendSqlRaceSessions(SessionId, String[], String[])
  
  
  Declaration
  
    void AppendSqlRaceSessions(SessionId sessionId, string[] keys, string[] connectionStrings)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String[] | 
        keys | 
         | 
      
      
        | System.String[] | 
        connectionStrings | 
         | 
      
    
  
  
  AppendSqlRaceSessionsWithAssociates(SessionId, String[], String[], Int64[])
  
  
  Declaration
  
    void AppendSqlRaceSessionsWithAssociates(SessionId sessionId, string[] keys, string[] connectionStrings, long[] versions)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String[] | 
        keys | 
         | 
      
      
        | System.String[] | 
        connectionStrings | 
         | 
      
      
        | System.Int64[] | 
        versions | 
         | 
      
    
  
  
  GetCompositeSession(SessionId)
  
  
  Declaration
  
    CompositeSession GetCompositeSession(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSession(SessionId)
  
  
  Declaration
  
    Session GetSession(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSessionDetail(SessionId, String)
  
  
  Declaration
  
    SessionDetail GetSessionDetail(SessionId sessionId, string name)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        name | 
         | 
      
    
  
  Returns
  
  
  GetSessionDetails(SessionId)
  
  
  Declaration
  
    SessionDetail[] GetSessionDetails(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSessionEvent(SessionId, Int32)
  
  
  Declaration
  
    SessionEvent GetSessionEvent(SessionId sessionId, int id)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.Int32 | 
        id | 
         | 
      
    
  
  Returns
  
  
  GetSessionEvents(SessionId)
  
  
  Declaration
  
    SessionEvent[] GetSessionEvents(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSessionFastestLap(SessionId)
  
  
  Declaration
  
    Lap GetSessionFastestLap(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSessionLapById(SessionId, Int32)
  
  
  Declaration
  
    Lap GetSessionLapById(SessionId sessionId, int lapId)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.Int32 | 
        lapId | 
         | 
      
    
  
  Returns
  
  
  GetSessionLapByNumber(SessionId, Int16)
  
  
  Declaration
  
    Lap GetSessionLapByNumber(SessionId sessionId, short number)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.Int16 | 
        number | 
         | 
      
    
  
  Returns
  
  
  GetSessionLaps(SessionId)
  
  
  Declaration
  
    Lap[] GetSessionLaps(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSessionParameter(SessionId, String)
  
  
  Declaration
  
    Parameter GetSessionParameter(SessionId sessionId, string parameterIdentifier)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        parameterIdentifier | 
         | 
      
    
  
  Returns
  
  
  GetSessionParameterById(SessionId, ObjectId)
  
  
  Declaration
  
    Parameter GetSessionParameterById(SessionId sessionId, ObjectId parameterInstanceIdentifier)
   
  Parameters
  
  Returns
  
  
  GetSessionParameterByIndex(SessionId, Int32)
  
  
  Declaration
  
    Parameter GetSessionParameterByIndex(SessionId sessionId, int parameterIndex)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.Int32 | 
        parameterIndex | 
         | 
      
    
  
  Returns
  
  
  GetSessionParameterCount(SessionId)
  
  
  Declaration
  
    int GetSessionParameterCount(SessionId sessionId)
   
  Parameters
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
  GetSessionParameters(SessionId)
  
  
  Declaration
  
    Parameter[] GetSessionParameters(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSessions(SessionId)
  
  
  Declaration
  
    Session[] GetSessions(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  GetSessionTimeBase(SessionId)
  
  
  Declaration
  
    TimeBase GetSessionTimeBase(SessionId sessionId)
   
  Parameters
  
  Returns
  
  
  RemoveDataFromTransientParameter(SessionId, String)
  
  
  Declaration
  
    void RemoveDataFromTransientParameter(SessionId sessionId, string parameterIdentifier)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        parameterIdentifier | 
         | 
      
    
  
  
  RemoveSessionDetail(SessionId, String)
  
  
  Declaration
  
    void RemoveSessionDetail(SessionId sessionId, string name)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        name | 
         | 
      
    
  
  
  RemoveTransientParameter(SessionId, String)
  
  
  Declaration
  
    void RemoveTransientParameter(SessionId sessionId, string parameterIdentifier)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        sessionId | 
         | 
      
      
        | System.String | 
        parameterIdentifier | 
         | 
      
    
  
  
  SetCompareOffset(SessionId, Double)
  
  
  Declaration
  
    void SetCompareOffset(SessionId compositeSessionId, double value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | SessionId | 
        compositeSessionId | 
         | 
      
      
        | System.Double | 
        value | 
         |