123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- using Application.VaporRecoveryOnlineWatchHubApp;
- using Application.VaporRecoveryOnlineWatchHubApp.UnversalApiModels;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using VaporRecoveryOnlineWatchHubApp.Config;
- using static Application.VaporRecoveryOnlineWatchHubApp.App;
- namespace VaporRecoveryOnlineWatchHubApp.UnversalApiModels
- {
-
-
-
- public class VRBoardNozzle
- {
- public int SiteLevelNozzleId { get; set; }
-
-
-
-
-
- public VRBoardNozzleTrxHealthStateEnum HealthState { get; set; }
-
-
-
-
- public VRBoardNozzleTrxFlowData LatestTrxFlowData { get; set; }
-
- public VRBoardNozzleFuelingStateEnum FuelingState { get; set; }
- public string PerNozzleVRGroupQualificationDefinitionGroupName { get; set; }
- public override string ToString()
- {
- return GetType().GetProperties().Aggregate(string.Empty,
- (result, next) => result + $"{next.Name} : {(next.GetValue(this)?.ToString()) ?? string.Empty} ");
- }
- }
- public enum VRBoardNozzleTrxHealthStateEnum
- {
- NORMAL,
- WARNING,
- ALARM,
- NOT_SET
- }
- public enum VRBoardNozzleFuelingStateEnum
- {
- IDLE,
- FUELING
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- }
|