/// <summary> /// Create a new EVSE status update. /// </summary> /// <param name="EVSE">The EVSE.</param> /// <param name="OldStatus">The old timestamped status of the EVSE.</param> /// <param name="NewStatus">The new timestamped status of the EVSE.</param> public EVSEStatusUpdate(EVSE EVSE, EVSEStatus OldStatus, EVSEStatus NewStatus) { this.EVSE = EVSE; this.OldStatus = OldStatus.Status; this.NewStatus = NewStatus.Status; }
public Task <Acknowledgement> PushEVSEStatus(EVSEStatus EVSEStatus, ActionType ActionType = ActionType.update, EVSEOperator_Id OperatorId = null, string OperatorName = null, TimeSpan?QueryTimeout = default(TimeSpan?)) { this._EVSEStatusDiffDelegate(new EVSEStatusDiff(DateTime.Now, EVSEStatus.Id.OperatorId, null, new KeyValuePair <EVSE_Id, EVSEStatusType>[] { new KeyValuePair <EVSE_Id, EVSEStatusType>(EVSEStatus.Id, EVSEStatus.Status) }, null)); return(Task.FromResult(new Acknowledgement(true))); }
public Task <Acknowledgement> EnqueueEVSEStatusUpdate(EVSEStatus EVSEStatus, ActionType ActionType = ActionType.update, EVSEOperator_Id OperatorId = null, string OperatorName = null, TimeSpan?QueryTimeout = default(TimeSpan?)) { throw new NotImplementedException(); }