/// <summary> /// Constructor that should be used when creating a DRLC event object to be used for sending error responses /// </summary> /// <param name="eventID">The event ID of the event request that failed</param> /// <param name="deviceClass">The device class of the event request that failed</param> /// <param name="enrollmentGroup">The enrollment group of the event request that failed</param> /// <param name="failureStatus">The failure status of the event request that failed.</param> // Revision History // MM/DD/YY Who Version Issue# Description // -------- --- ------- ------ ------------------------------------------- // 08/09/11 RCG 2.52.00 Created public DRLCEvent(uint eventID, DRLCDeviceClasses deviceClass, byte enrollmentGroup, DRLCEventStatus failureStatus) : this() { m_IssuerEventID = eventID; m_DeviceClass = deviceClass; m_EnrollmentGroup = enrollmentGroup; m_CurrentStatus = failureStatus; }
/// <summary> /// Cancels the DR/LC event at the specified time /// </summary> /// <param name="clientAddress">The Address of the client the message is intended for</param> /// <param name="EffectiveTime">The time the event should start</param> /// <param name="deviceClass">The devices that the event should apply to</param> /// <param name="eventID">The event ID for the DRLC event</param> /// <param name="cancelControl">Enter 0 to cancel at EffectiveTime, 1 to cancel randomly</param> /// <returns>The result of the operation</returns> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 01/28/14 AF 3.50.28 WR444483 Added to the IHANInformation interface // public ItronDeviceResult HANCancelDRLCEvent(ulong clientAddress, DateTime EffectiveTime, DRLCDeviceClasses deviceClass, uint eventID, byte cancelControl) { return(m_HANInfo.HANCancelDRLCEvent(clientAddress, EffectiveTime, deviceClass, eventID, cancelControl)); }
/// <summary> /// Schedules the DR/LC event at the specified time and duration /// </summary> /// <param name="clientAddress">The Address of the client the message is intended for</param> /// <param name="startTime">The time the event should start</param> /// <param name="duration">The duration of the event</param> /// <param name="deviceClass">The devices that the event should apply to</param> /// <param name="eventID">The event ID for the DRLC event</param> /// <returns>The result of the operation</returns> // Revision History // MM/DD/YY who Version Issue# Description // -------- --- ------- ------ --------------------------------------- // 01/28/14 AF 3.50.28 WR444483 Added to the IHANInformation interface // public ItronDeviceResult ScheduleHANDRLCEvent(ulong clientAddress, DateTime startTime, ushort duration, DRLCDeviceClasses deviceClass, uint eventID) { return(m_HANInfo.ScheduleHANDRLCEvent(clientAddress, startTime, duration, deviceClass, eventID)); }