123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- 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
- {
- /// <summary>
- /// </summary>
- public class VRBoardNozzleInitParametersData
- {
- public byte DataCollectorDeviceAddress { get; set; }
- public int SiteLevelNozzleId { get; set; }
- public byte 最大未变化次数 { get; set; }
- public int 开始加油阀值 { get; set; }
- public int 停止加油阀值 { get; set; }
- public int 最小加油量 { get; set; }
- public int 加油脉冲当量 { get; set; }
- public int 油气脉冲当量 { get; set; }
- /// <summary>
- /// 控制板将依据此值在加油过程中调节气泵回气量,以求尽可能靠近此比值
- /// </summary>
- public double 气液比值 { get; set; }
- /// <summary>
- /// when this record created in app side.
- /// </summary>
- public DateTime TimeStamp { get; set; }
- public override string ToString()
- {
- return GetType().GetProperties().Aggregate(string.Empty,
- (result, next) => result + $"{next.Name} : {(next.GetValue(this)?.ToString()) ?? string.Empty} ");
- }
- }
- }
|