C# 클래스 JetstreamLaunchpadService.JetstreamEventRepository

This is the class that interacts with the database
파일 보기 프로젝트 열기: tersosolutions/JetstreamSDK-.NET_Launchpad

공개 메소드들

메소드 설명
GetDevices ( ) : List

Get list of all the divces in local database

GetItemsWithLastStatusInInventory ( string logicalDeviceId ) : List
GetUser ( ) : List

Get List of all the users in the local database

RecordCommandCompletionEvent ( string commandId, string outputType, string outputName, string outputValue ) : void

Record Command Completion data to the database

RecordCommandQueuedEvent ( string commandId, string commandName, string userName ) : void

Record Command Queued data to the database

RecordHeartbeat ( TersoSolutions heartbeatEvent ) : void

Routine to save heartbeat data to the database

RecordInventory ( string logicalDeviceId, string tagEpc, string currentState, System.DateTime stateDate, string passId ) : void

Records the inventory data to the database

RecordSensorReading ( string logicalDeviceId, string readingName, string readingValue, System.DateTime readingTime ) : void

Records sensor reading data to the database

메소드 상세

GetDevices() 공개 정적인 메소드

Get list of all the divces in local database
public static GetDevices ( ) : List
리턴 List

GetItemsWithLastStatusInInventory() 공개 정적인 메소드

public static GetItemsWithLastStatusInInventory ( string logicalDeviceId ) : List
logicalDeviceId string
리턴 List

GetUser() 공개 정적인 메소드

Get List of all the users in the local database
public static GetUser ( ) : List
리턴 List

RecordCommandCompletionEvent() 공개 정적인 메소드

Record Command Completion data to the database
public static RecordCommandCompletionEvent ( string commandId, string outputType, string outputName, string outputValue ) : void
commandId string
outputType string
outputName string
outputValue string
리턴 void

RecordCommandQueuedEvent() 공개 정적인 메소드

Record Command Queued data to the database
public static RecordCommandQueuedEvent ( string commandId, string commandName, string userName ) : void
commandId string
commandName string
userName string
리턴 void

RecordHeartbeat() 공개 정적인 메소드

Routine to save heartbeat data to the database
public static RecordHeartbeat ( TersoSolutions heartbeatEvent ) : void
heartbeatEvent TersoSolutions
리턴 void

RecordInventory() 공개 정적인 메소드

Records the inventory data to the database
public static RecordInventory ( string logicalDeviceId, string tagEpc, string currentState, System.DateTime stateDate, string passId ) : void
logicalDeviceId string
tagEpc string
currentState string
stateDate System.DateTime
passId string
리턴 void

RecordSensorReading() 공개 정적인 메소드

Records sensor reading data to the database
public static RecordSensorReading ( string logicalDeviceId, string readingName, string readingValue, System.DateTime readingTime ) : void
logicalDeviceId string
readingName string
readingValue string
readingTime System.DateTime
리턴 void