Пример #1
0
 /// <summary>
 /// The Status event shall be triggered in an unsolicited fashion. It shall be used to report changes in the device, which are not controlled by the state machine, such as over temperature, errors in keep-alive mechanisms, or errors in motor regulation.
 /// </summary>
 /// <param name="deviceId">The device id.</param>
 /// <param name="returnValue">The return value.</param>
 /// <param name="eventDescription">The event description.</param>
 /// <returns></returns>
 public SiLAReturnValue StatusEvent(string deviceId, SiLAReturnValue returnValue, string eventDescription)
 {
     return(base.Channel.StatusEvent(deviceId, returnValue, eventDescription));
 }
Пример #2
0
 /// <summary>
 /// The response event shall inform the PMS about the successful completion of an asynchronous command.
 /// </summary>
 /// <param name="requestId">The request id.</param>
 /// <param name="returnValue">The return value.</param>
 /// <param name="responseData">The response data.</param>
 /// <returns></returns>
 public SiLAReturnValue ResponseEvent(int requestId, SiLAReturnValue returnValue, string responseData)
 {
     return(base.Channel.ResponseEvent(requestId, returnValue, responseData));
 }
Пример #3
0
 /// <summary>
 /// The error event shall be fired when the device enters an error state that may be recovered by executing a special task.
 /// </summary>
 /// <param name="requestId">The request id.</param>
 /// <param name="returnValue">The return value.</param>
 /// <param name="continuationTask">The continuation task.</param>
 /// <returns></returns>
 public SiLAReturnValue ErrorEvent(int requestId, SiLAReturnValue returnValue, ref string continuationTask)
 {
     return(base.Channel.ErrorEvent(requestId, returnValue, ref continuationTask));
 }