protected void SetStatus(eStatusRRO pStatus, string pMsg = null, int?pMsgCode = null) { ActionStatus?.Invoke(new RroStatus() { Status = pStatus, ModelEquipment = ModelEquipment, State = pMsgCode ?? (int)pStatus, TextState = pMsg ?? pStatus.ToString() }); }
protected void SetStatus(eStatusPos pStatus) { ActionStatus?.Invoke(new PosStatus() { Status = pStatus, ModelEquipment = ModelEquipment, State = (int)pStatus, TextState = pStatus.ToString() }); }