Compare commits
No commits in common. "652d8dcb47d14e0e5db43f093238708b5005e4c6" and "54b6b045f71d8ae019143fb18a750cb21e2d427f" have entirely different histories.
652d8dcb47
...
54b6b045f7
@ -1 +1 @@
|
|||||||
Subproject commit 0e0cddec079409dae5d1384c3738a0eeefa4c507
|
Subproject commit 1ec9e41ce560f12d3c560fe2adc4929f96e448c1
|
||||||
@ -26,7 +26,7 @@ public class Program
|
|||||||
});
|
});
|
||||||
await builder.AddApplicationAsync<JiShe.IoT.IoTHttpApiHostModule>();
|
await builder.AddApplicationAsync<JiShe.IoT.IoTHttpApiHostModule>();
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
builder.WebHost.UseUrls($"http://+:10500");
|
//builder.WebHost.UseUrls($"http://+:10500");
|
||||||
#endif
|
#endif
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
await app.InitializeApplicationAsync();
|
await app.InitializeApplicationAsync();
|
||||||
|
|||||||
@ -1,29 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace JiShe.IoT.CommonServices.Dto
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 获取下拉框数据
|
|
||||||
/// </summary>
|
|
||||||
public class SelectResultListInput
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 类型名称
|
|
||||||
/// MalignantLoadLevelEnum 恶性负载等级
|
|
||||||
/// DurationOfAutomaticClosingEnum 自动合闸时长类型
|
|
||||||
/// MalignLoadTypeEnum 恶性负载类型
|
|
||||||
/// </summary>
|
|
||||||
[Required]
|
|
||||||
public string TypeName { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 第三级类型
|
|
||||||
/// </summary>
|
|
||||||
public string ThirdAttributeTypeName { get; set; }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,33 +0,0 @@
|
|||||||
using JiShe.IoT.CommonServices.Dto;
|
|
||||||
using JiShe.ServicePro.Commons;
|
|
||||||
using JiShe.ServicePro.Core;
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace JiShe.IoT.CommonServices
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// 通用服务
|
|
||||||
/// </summary>
|
|
||||||
public interface ICommonService
|
|
||||||
{
|
|
||||||
#region 公共依赖接口
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 初始化所有固定的枚举下拉框字典
|
|
||||||
/// </summary>
|
|
||||||
/// <returns></returns>
|
|
||||||
Task InitSelectTypetList();
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 根据type名称获取下拉框数据,主要是枚举等
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="input"></param>
|
|
||||||
/// <returns></returns>
|
|
||||||
Task<List<SelectResult>> GetSelectResultList(SelectResultListInput input);
|
|
||||||
#endregion
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -37,10 +37,10 @@
|
|||||||
<PackageReference Include="JiShe.ServicePro.TemplateManagement.Application.Contracts" />
|
<PackageReference Include="JiShe.ServicePro.TemplateManagement.Application.Contracts" />
|
||||||
<PackageReference Include="JiShe.ServicePro.DynamicMenuManagement.Application.Contracts" />
|
<PackageReference Include="JiShe.ServicePro.DynamicMenuManagement.Application.Contracts" />
|
||||||
<PackageReference Include="JiShe.ServicePro.FileManagement.Application.Contracts" />
|
<PackageReference Include="JiShe.ServicePro.FileManagement.Application.Contracts" />
|
||||||
<PackageReference Include="JiShe.ServicePro.IoTDBManagement.Application.Contracts" />
|
<PackageReference Include="JiShe.ServicePro.IoTDBManagement.Application.Contracts"/>
|
||||||
<PackageReference Include="JiShe.ServicePro.DeviceManagement.Application.Contracts" />
|
<PackageReference Include="JiShe.ServicePro.DeviceManagement.Application.Contracts"/>
|
||||||
<PackageReference Include="JiShe.ServicePro.CTWingManagement.Application.Contracts" />
|
<PackageReference Include="JiShe.ServicePro.CTWingManagement.Application.Contracts"/>
|
||||||
<PackageReference Include="JiShe.ServicePro.OneNETManagement.Application.Contracts" />
|
<PackageReference Include="JiShe.ServicePro.OneNETManagement.Application.Contracts"/>
|
||||||
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@ -45,9 +45,5 @@
|
|||||||
<ProjectReference Include="..\JiShe.IoT.Application.Contracts\JiShe.IoT.Application.Contracts.csproj" />
|
<ProjectReference Include="..\JiShe.IoT.Application.Contracts\JiShe.IoT.Application.Contracts.csproj" />
|
||||||
<ProjectReference Include="..\JiShe.IoT.Domain\JiShe.IoT.Domain.csproj" />
|
<ProjectReference Include="..\JiShe.IoT.Domain\JiShe.IoT.Domain.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="CommonServices\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user