using SensorHub.Servers.JsonFormat; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SensorHub.WasteGas { public class WasteGasDatasJson : DatasJson { public float CO { get; set; } public float O2 { get; set; } public float H2S { get; set; } public float CH4 { get; set; } public bool liquidSwitch { get; set; }//液位开关 public WasteGasDatasJson(string uptime, float CO, float O2, float H2S, float CH4, bool liquidSwitch) { this.uptime = uptime; this.CO = CO; this.O2 = O2; this.H2S = H2S; this.CH4 = CH4; this.liquidSwitch = liquidSwitch; } } }