49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
using NetTopologySuite.Geometries;
|
|
using OpenAuth.Repository.Domain;
|
|
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace OpenAuth.App.ServiceApp.Response
|
|
{
|
|
public class DroneStateResp
|
|
{
|
|
public string DroneName { get; set; }
|
|
public string DroneSn { get; set; }
|
|
public string DroneType { get; set; }
|
|
public string DroneStatus { get; set; }
|
|
public UavStateResp UavList { get; set; }
|
|
}
|
|
public class UavStateResp
|
|
{
|
|
public string UavName { get; set; }
|
|
public string UavSn { get; set; }
|
|
public string UavType { get; set; }
|
|
public string UavStatus { get; set; }
|
|
public string DroneSn { get; set; }
|
|
}
|
|
|
|
public class DroneRedisInfo
|
|
{
|
|
public string device_sn { get; set; }
|
|
public string device_online_status { get; set; }
|
|
public string mode_code { get; set; }
|
|
public string drone_in_dock { get; set; }
|
|
public string lat { get; set; }
|
|
public string lng { get; set; }
|
|
public string height { get; set; }
|
|
}
|
|
public class UavRedisInfo
|
|
{
|
|
public string type { get; set; }
|
|
public string device_id { get; set; }
|
|
public bool is_input_available { get; set; }
|
|
public bool is_forwarding { get; set; }
|
|
public string srs_rtmp_push_url { get; set; }
|
|
public string last_check_time { get; set; }
|
|
}
|
|
}
|