123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- using AutoMapper;
- using AutoMapper.Configuration.Annotations;
- using Wayne_VaporRecoveryDataCollectorBoard.MessageEntity;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Reflection;
- using System.Text;
- using VaporRecoveryOnlineWatchHubApp.UnversalApiModels;
- namespace Application.VaporRecoveryOnlineWatchHubApp.UnversalApiModels
- {
-
-
-
-
- public class VRBoardNozzleTrxFlowData
- {
-
- public DataCollectorBoardTypeEnum? DataCollectorType { get; set; }
-
- public byte DataCollectorDeviceAddress { get; set; }
-
-
-
- public int SiteLevelNozzleId { get; set; }
-
-
-
-
-
-
-
- public double LiquidVolumeWithDecimal { get; set; }
-
- public double VaporVolumeWithDecimal { get; set; }
- public double VaporLiquidRatio { get; set; }
-
-
-
- public double? MaxAirFlowRateWithDecimal { get; set; }
-
-
-
- public double? MaxLiquidFlowRateWithDecimal { get; set; }
-
-
-
- public double? AvgAirFlowRateWithDecimal { get; set; }
-
-
-
- public double? AvgLiquidFlowRateWithDecimal { get; set; }
-
-
-
- public DateTime TimeStamp { get; set; }
- public DateTime? FuellingStartTime { get; set; }
- public DateTime? FuellingEndTime { get; set; }
-
- public bool 气液比值是否正常 { get; set; }
-
- public double? TankPressure { get; set; }
- public double? LiquidPressure { get; set; }
- public double? GasConcentrations { get; set; }
- public override string ToString()
- {
- return GetType().GetProperties().Aggregate(string.Empty,
- (result, next) => result + $"{next.Name} : {(next.GetValue(this)?.ToString()) ?? string.Empty} ");
- }
- }
- }
|