添加项目文件。

master
wenjy 4 days ago
parent 5270f1fb0f
commit 6da6dd9c78

@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2026 WenJY
* CLR4.0.30319.42000
* T14-GEN3-7895
* Sln.Wcs.Api.Domain.Dto.genAgvSchedulingTask
* 8050269f-214b-4b32-96aa-f5dc77ee4f54
*
* WenJY
*
* 2026-02-25 10:06:10
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.Wcs.Api.Domain.Dto.genAgvSchedulingTask
{
/// <summary>
/// 生成任务单请求参数
/// </summary>
public class GenAgvSchedulingTaskDto
{
//这里写请求参数
}
}

@ -0,0 +1,40 @@
using Sln.Wcs.Api.Domain.Enum;
using Sln.Wcs.Api.Domain.Model;
using Sln.Wcs.Common.Domain.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2026 WenJY
* CLR4.0.30319.42000
* T14-GEN3-7895
* Sln.Wcs.Api.Domain.Dto.genAgvSchedulingTask
* 9a4a5630-b508-4b56-a5c1-240b156c6af1
*
* WenJY
*
* 2026-02-25 10:06:22
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.Wcs.Api.Domain.Dto.genAgvSchedulingTask
{
/// <summary>
/// 生成任务单返回参数
/// </summary>
public class GenAgvSchedulingTaskResultDto:ResultDto<ApiBaseStatusEnum, GenAgvSchedulingTaskResultModel>
{
}
}

@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2026 WenJY
* CLR4.0.30319.42000
* T14-GEN3-7895
* Sln.Wcs.Api.Domain.Enum
* 7d0a31f2-ad5a-475d-97a3-f3c124bdb776
*
* WenJY
*
* 2026-02-25 10:09:13
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.Wcs.Api.Domain.Enum
{
public enum ApiBaseStatusEnum
{
SUCCESS = 0,
= 1,
API = 2,
API = 3,
}
}

@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2026 WenJY
* CLR4.0.30319.42000
* T14-GEN3-7895
* Sln.Wcs.Api.Domain.Model
* a31bd1f2-40e6-4286-82a8-aeb545a5db4c
*
* WenJY
*
* 2026-02-25 10:15:15
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.Wcs.Api.Domain.Model
{
/// <summary>
/// 生成任务单返回实体
/// </summary>
public class GenAgvSchedulingTaskResultModel
{
/// <summary>
/// 返回码
/// </summary>
public string code { get;set; }
/// <summary>
/// 返回消息
/// </summary>
public string message { get;set; }
/// <summary>
/// 请求编号
/// </summary>
public string reqCode { get;set; }
/// <summary>
/// 自定义返回(返回任务单号)
/// </summary>
public string data { get;set; }
}
}

@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Sln.Wcs.Common\Sln.Wcs.Common.csproj" />
</ItemGroup>
</Project>

@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2026 WenJY
* CLR4.0.30319.42000
* T14-GEN3-7895
* Sln.Wcs.Common.Domain.Dto
* 303cf24d-5089-47f4-80d0-616529cb2d1f
*
* WenJY
*
* 2026-02-25 9:56:45
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.Wcs.Common.Domain.Dto
{
public class ResultDto<TCode, TData>
{
/// <summary>
/// 状态码
/// </summary>
public TCode? code { get; set; }
/// <summary>
/// 错误信息
/// </summary>
public string? error { get; set; }
/// <summary>
/// 结果
/// </summary>
public TData? data { get; set; }
}
}

@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

@ -0,0 +1,37 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.10.35122.118
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sln.Wcs", "Sln.Wcs\Sln.Wcs.csproj", "{747BB353-A39B-4C49-A729-0260CC5A0C16}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sln.Wcs.Common", "Sln.Wcs.Common\Sln.Wcs.Common.csproj", "{D94D5F31-AA0D-4F60-A3B4-667A1FFCD6ED}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sln.Wcs.Api", "Sln.Wcs.Api\Sln.Wcs.Api.csproj", "{4C6BE335-DC72-4369-AEA8-AE812C849A12}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{747BB353-A39B-4C49-A729-0260CC5A0C16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{747BB353-A39B-4C49-A729-0260CC5A0C16}.Debug|Any CPU.Build.0 = Debug|Any CPU
{747BB353-A39B-4C49-A729-0260CC5A0C16}.Release|Any CPU.ActiveCfg = Release|Any CPU
{747BB353-A39B-4C49-A729-0260CC5A0C16}.Release|Any CPU.Build.0 = Release|Any CPU
{D94D5F31-AA0D-4F60-A3B4-667A1FFCD6ED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D94D5F31-AA0D-4F60-A3B4-667A1FFCD6ED}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D94D5F31-AA0D-4F60-A3B4-667A1FFCD6ED}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D94D5F31-AA0D-4F60-A3B4-667A1FFCD6ED}.Release|Any CPU.Build.0 = Release|Any CPU
{4C6BE335-DC72-4369-AEA8-AE812C849A12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4C6BE335-DC72-4369-AEA8-AE812C849A12}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4C6BE335-DC72-4369-AEA8-AE812C849A12}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4C6BE335-DC72-4369-AEA8-AE812C849A12}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BF8155CE-86F5-44B8-8BE4-500D58B7E710}
EndGlobalSection
EndGlobal

@ -0,0 +1,10 @@
namespace Sln.Wcs
{
internal class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
}

@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
Loading…
Cancel
Save