75 lines
2.1 KiB
C#
75 lines
2.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MQTT_WinformV1.Model
|
|
{
|
|
public class MqttDataModel
|
|
{
|
|
/// <summary>
|
|
/// 时间戳(毫秒级)
|
|
/// </summary>
|
|
public long time { get; set; }
|
|
public MqttParamsModel @params { get; set; }
|
|
}
|
|
|
|
//public class MqttParamsModel
|
|
//{
|
|
// public string Value01 { get; set; }
|
|
// public string Value02 { get; set; }
|
|
// public string Value03 { get; set; }
|
|
// public string Value04 { get; set; }
|
|
// public string Value05 { get; set; }
|
|
// public string Value06 { get; set; }
|
|
// public string Value07 { get; set; }
|
|
// public string Value08 { get; set; }
|
|
// public string Value09 { get; set; }
|
|
// public string Value10 { get; set; }
|
|
//}
|
|
|
|
public class MqttParamsModel
|
|
{
|
|
|
|
public string Alarm { get; set; }
|
|
public string ProductCounts { get; set; }
|
|
public string CT { get; set; }
|
|
public string T1 { get; set; }
|
|
public string T2 { get; set; }
|
|
public string T3 { get; set; }
|
|
public string T4 { get; set; }
|
|
public string T5 { get; set; }
|
|
public string IP1 { get; set; }
|
|
public string IP2 { get; set; }
|
|
|
|
public string IP3 { get; set; }
|
|
public string IP4 { get; set; }
|
|
public string IP5 { get; set; }
|
|
public string IV1 { get; set; }
|
|
public string IV2 { get; set; }
|
|
public string IV3 { get; set; }
|
|
public string IV4 { get; set; }
|
|
public string IV5 { get; set; }
|
|
public string ITT { get; set; }
|
|
public string PP1 { get; set; }
|
|
|
|
public string PP2 { get; set; }
|
|
public string PP3 { get; set; }
|
|
public string PV1 { get; set; }
|
|
public string PV2 { get; set; }
|
|
public string PV3 { get; set; }
|
|
public string PT1 { get; set; }
|
|
public string PT2 { get; set; }
|
|
public string PT3 { get; set; }
|
|
public string CC { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|