46 lines
1.0 KiB
C#
46 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DataServer.api
|
|
{
|
|
public class get_lighting_monitoring
|
|
{
|
|
// <summary>
|
|
/// 返回码
|
|
/// </summary>
|
|
public int code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 返回说明
|
|
/// </summary>
|
|
public string msg { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数据
|
|
/// </summary>
|
|
public List<lighting_monitoringData> data { get; set; }
|
|
}
|
|
public class lighting_monitoringData
|
|
{
|
|
/// <summary>
|
|
/// 设备数量
|
|
/// </summary>
|
|
public int DeviceNumber { get; set; }
|
|
/// <summary>
|
|
///灭灯数量
|
|
/// </summary>
|
|
public int BlackoutNumber { get; set; }
|
|
/// <summary>
|
|
/// 亮灯数量
|
|
/// </summary>
|
|
public int LightNumber { get; set; }
|
|
/// <summary>
|
|
/// 离线数量
|
|
/// </summary>
|
|
public int OffNumber { get; set; }
|
|
}
|
|
}
|