You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
931 B
C#

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
/// </summary>
public static string FlightSetupExceptionNotify =
TopicConst.ThingModelPre + TopicConst.Product + "%s" + TopicConst.EventsSuffix;
/// <summary>
/// 下发任务 down(向设备端发布消息) flighttask_prepare(method) thing/product/{gateway_sn}/services(topic)
/// </summary>
public static string FlightTaskPrepare = TopicConst.ThingModelPre + TopicConst.Product + "%s" + TopicConst.ServicesSuffix;
public GatewayManager(string gatewaySn, string droneSn, GatewayType gatewayType)
{
GatewaySn = gatewaySn;
DroneSn = droneSn;
GatewayType = gatewayType;
}
}