LASAPlatform/Infrastructure/CloudSdk/GatewayManager.cs

26 lines
931 B
C#
Raw Normal View History

2025-06-11 09:03:16 +08:00
namespace OpenAuth.WebApi.CloudSdk;
public class GatewayManager
{
public string GatewaySn { get; set; }
public string DroneSn { get; set; }
public GatewayType GatewayType { get; set; }
/// <summary>
/// 机场任务准备异常通知 flight_setup_exception_notify
2025-06-11 09:03:16 +08:00
/// </summary>
2025-06-12 13:54:54 +08:00
public static string FlightSetupExceptionNotify =
2025-06-11 09:03:16 +08:00
TopicConst.ThingModelPre + TopicConst.Product + "%s" + TopicConst.EventsSuffix;
/// <summary>
/// 下发任务 down(向设备端发布消息) flighttask_prepare(method) thing/product/{gateway_sn}/services(topic)
/// </summary>
2025-06-12 13:54:54 +08:00
public static string FlightTaskPrepare = TopicConst.ThingModelPre + TopicConst.Product + "%s" + TopicConst.ServicesSuffix;
2025-06-11 09:03:16 +08:00
public GatewayManager(string gatewaySn, string droneSn, GatewayType gatewayType)
{
GatewaySn = gatewaySn;
DroneSn = droneSn;
GatewayType = gatewayType;
}
}