修改cloudsdk结构

feature-flyModify
陈伟 2025-06-11 09:03:16 +08:00
parent 834c0a4859
commit 9cd2343a5d
4 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,22 @@
namespace OpenAuth.WebApi.CloudSdk;
public class GatewayManager
{
public string GatewaySn { get; set; }
public string DroneSn { get; set; }
public GatewayType GatewayType { get; set; }
/// <summary>
/// 机场任务准备异常通知
/// </summary>
public string FlightSetupExceptionNotify =
TopicConst.ThingModelPre + TopicConst.Product + "%s" + TopicConst.EventsSuffix;
public GatewayManager(string gatewaySn, string droneSn, GatewayType gatewayType)
{
GatewaySn = gatewaySn;
DroneSn = droneSn;
GatewayType = gatewayType;
}
}

View File

@ -3,5 +3,5 @@
public class GatewayType
{
public string Dock = "1";
public string M300 = "2";
public string M4TD = "2";
}

View File

@ -80,6 +80,12 @@
</ItemGroup>
<ItemGroup>
<Folder Include="CloudSdk\common\" />
<Folder Include="CloudSdk\config\" />
<Folder Include="CloudSdk\control\" />
<Folder Include="CloudSdk\device\" />
<Folder Include="CloudSdk\meida\" />
<Folder Include="CloudSdk\wayline\" />
<Folder Include="Controllers\BaseControllers\Permission\" />
</ItemGroup>