using System.Collections.Generic;
namespace JinYuan.MES.Models
{
internal class UploadDeviceCollectData
{
///
/// 应用id,对应不同系统对接
///
public string appid { get; set; }
///
/// 采集指标类型和具体值的集合
///
public List collect_code_value_list { get; set; }
///
/// 采集时间,unix时间戳,整数类型
///
public long collect_time { get; set; }
///
/// 设备编号
///
public string device_code { get; set; }
}
public class Collect_code_value_list
{
///
/// 指标类型,1 温度 2湿度 3露点 4粉尘 5风速,整数类型
///
public int target_code { get; set; }
///
/// 指标对应采集值,若是某个指标或某个指标的某个值未采集到,则传N
///
public string target_value { get; set; }
///
/// 风速仪标签,风速仪值对应target_value
///
public string target_value_tag { get; set; }
}
public class UploadDeviceCollectDataResult
{
///
///
///
public int status { get; set; }
///
///
///
public Data data { get; set; }
///
///
///
public string message { get; set; }
}
public class Data
{
}
}