diff --git a/SLn.Wcs.ElevatorSdk/Class1.cs b/SLn.Wcs.ElevatorSdk/Class1.cs deleted file mode 100644 index 9726cae..0000000 --- a/SLn.Wcs.ElevatorSdk/Class1.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Sln.Wcs.ElevatorSdk -{ - public class Class1 - { - - } -} diff --git a/Sln.Wcs.Model/Domain/BaseDeviceInfo.cs b/Sln.Wcs.Model/Domain/BaseDeviceInfo.cs index 23adf07..6b05787 100644 --- a/Sln.Wcs.Model/Domain/BaseDeviceInfo.cs +++ b/Sln.Wcs.Model/Domain/BaseDeviceInfo.cs @@ -1,12 +1,126 @@ -using System; +using SqlSugar; +using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Model.Domain +* 唯一标识:083c9c2b-6e5e-422e-bd25-bfaf9b3a9f22 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:20:18 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> namespace Sln.Wcs.Model.Domain { - internal class BaseDeviceInfo + /// + ///设备信息 + /// + [SugarTable("base_device_info"), TenantAttribute("core")] + public class BaseDeviceInfo { + /// + /// Desc:主键标识 + /// Default: + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] + public int objId { get; set; } + + /// + /// Desc:设备编号 + /// Default: + /// Nullable:False + /// + [SugarColumn(ColumnName = "device_code")] + public string deviceCode { get; set; } + + /// + /// Desc:设备名称 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "device_name")] + public string deviceName { get; set; } + + /// + /// Desc:设备类型:0-输送线;1-AGV;2-提升机 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "device_type")] + public int? deviceType { get; set; } + + /// + /// Desc:设备状态:0-正常;1-在忙;2-异常 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "device_status")] + public int? deviceStatus { get; set; } + + /// + /// Desc:是否标识:1-是;0-否 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "is_flag")] + public int? isFlag { get; set; } + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "remark")] + public string remark { get; set; } + + /// + /// Desc:创建人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_by")] + public string createdBy { get; set; } + + /// + /// Desc:创建时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_time")] + public DateTime? createdTime { get; set; } + + /// + /// Desc:更新人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_by")] + public string updatedBy { get; set; } + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_time")] + public DateTime? updatedTime { get; set; } } } diff --git a/Sln.Wcs.Model/Domain/BaseLocationInfo.cs b/Sln.Wcs.Model/Domain/BaseLocationInfo.cs new file mode 100644 index 0000000..d8d8b22 --- /dev/null +++ b/Sln.Wcs.Model/Domain/BaseLocationInfo.cs @@ -0,0 +1,198 @@ +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Model.Domain +* 唯一标识:330ca081-4696-4624-ba20-b00dc20a6369 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:20:32 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Model.Domain +{ + /// + ///库位信息 + /// + [SugarTable("base_location_info"), TenantAttribute("core")] + public class BaseLocationInfo + { + /// + /// Desc:主键标识 + /// Default: + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] + public int objId { get; set; } + + /// + /// Desc:库位编号 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "location_code")] + public string locationCode { get; set; } + + /// + /// Desc:库位名称 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "location_name")] + public string locationName { get; set; } + + /// + /// Desc:库位区域 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "location_area")] + public string locationArea { get; set; } + + /// + /// Desc:所属仓库 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "store_code")] + public string storeCode { get; set; } + + /// + /// Desc:排 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "location_rows")] + public int? locationRows { get; set; } + + /// + /// Desc:列 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "location_columns")] + public int? locationColumns { get; set; } + + /// + /// Desc:层 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "location_layers")] + public int? locationLayers { get; set; } + + /// + /// Desc:AGV定位 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "agv_position")] + public string agvPosition { get; set; } + + /// + /// Desc:关联设备编号 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "device_code")] + public string deviceCode { get; set; } + + /// + /// Desc:物料编号 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "material_code")] + public string materialCode { get; set; } + + /// + /// Desc:托盘条码 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "pallet_barcode")] + public string palletBarcode { get; set; } + + /// + /// Desc:库存数量 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "stack_count")] + public string stackCount { get; set; } + + /// + /// Desc:库位状态;0-未使用;1-已使用;2-锁库;3-异常 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "location_status")] + public int? locationStatus { get; set; } + + /// + /// Desc:是否标识:1-是;0-否 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "is_flag")] + public int? isFlag { get; set; } + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "remark")] + public string remark { get; set; } + + /// + /// Desc:创建人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_by")] + public string createdBy { get; set; } + + /// + /// Desc:创建时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_time")] + public DateTime? createdTime { get; set; } + + /// + /// Desc:更新人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_by")] + public string updatedBy { get; set; } + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_time")] + public DateTime? updatedTime { get; set; } + } +} diff --git a/Sln.Wcs.Model/Domain/BaseMaterialInfo.cs b/Sln.Wcs.Model/Domain/BaseMaterialInfo.cs new file mode 100644 index 0000000..286dcf2 --- /dev/null +++ b/Sln.Wcs.Model/Domain/BaseMaterialInfo.cs @@ -0,0 +1,142 @@ +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Model.Domain +* 唯一标识:ef416a98-ba06-4357-8296-665f9688477b +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:20:43 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Model.Domain +{ + /// + ///物料信息 + /// + [SugarTable("base_material_info"), TenantAttribute("core")] + public class BaseMaterialInfo + { + /// + /// Desc:主键标识 + /// Default: + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] + public int objId { get; set; } + + /// + /// Desc:物料编号 + /// Default: + /// Nullable:False + /// + [SugarColumn(ColumnName = "material_code")] + public string materialCode { get; set; } + + /// + /// Desc:物料名称 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "material_name")] + public string materialName { get; set; } + + /// + /// Desc:物料类型 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "material_type")] + public string materialType { get; set; } + + /// + /// Desc:物料条码 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "material_barcode")] + public string materialBarcode { get; set; } + + /// + /// Desc:最短存放周期 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "min_storage_cycle")] + public int? minStorageCycle { get; set; } + + /// + /// Desc:最长存放周期 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "max_storage_cycle")] + public int? maxStorageCycle { get; set; } + + /// + /// Desc:是否标识:1-是;0-否 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "is_flag")] + public int? isFlag { get; set; } + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "remark")] + public string remark { get; set; } + + /// + /// Desc:创建人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_by")] + public string createdBy { get; set; } + + /// + /// Desc:创建时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_time")] + public DateTime? createdTime { get; set; } + + /// + /// Desc:更新人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_by")] + public string updatedBy { get; set; } + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_time")] + public DateTime? updatedTime { get; set; } + } +} diff --git a/Sln.Wcs.Model/Domain/BasePathDetails.cs b/Sln.Wcs.Model/Domain/BasePathDetails.cs new file mode 100644 index 0000000..791843f --- /dev/null +++ b/Sln.Wcs.Model/Domain/BasePathDetails.cs @@ -0,0 +1,118 @@ +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Model.Domain +* 唯一标识:05fbbc8d-2392-4da0-904e-3f6d689d2c88 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:21:07 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Model.Domain +{ + /// + ///路径明细 + /// + [SugarTable("base_path_details"), TenantAttribute("core")] + public class BasePathDetails + { + /// + /// Desc:主键标识 + /// Default: + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] + public int objId { get; set; } + + /// + /// Desc:路径编号 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "path_code")] + public string pathCode { get; set; } + + /// + /// Desc:起点 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "start_point")] + public string startPoint { get; set; } + + /// + /// Desc:终点 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "end_point")] + public string endPoint { get; set; } + + /// + /// Desc:是否标识:1-是;0-否 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "is_flag")] + public int? isFlag { get; set; } + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "remark")] + public string remark { get; set; } + + /// + /// Desc:创建人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_by")] + public string createdBy { get; set; } + + /// + /// Desc:创建时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_time")] + public DateTime? createdTime { get; set; } + + /// + /// Desc:更新人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_by")] + public string updatedBy { get; set; } + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_time")] + public DateTime? updatedTime { get; set; } + } +} diff --git a/Sln.Wcs.Model/Domain/BasePathInfo.cs b/Sln.Wcs.Model/Domain/BasePathInfo.cs new file mode 100644 index 0000000..9f955b2 --- /dev/null +++ b/Sln.Wcs.Model/Domain/BasePathInfo.cs @@ -0,0 +1,110 @@ +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Model.Domain +* 唯一标识:32362551-1f9c-48c5-aec5-8e784b48a90b +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:20:55 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Model.Domain +{ + /// + ///路径信息 + /// + [SugarTable("base_path_info"), TenantAttribute("core")] + public class BasePathInfo + { + /// + /// Desc:主键标识 + /// Default: + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] + public int objId { get; set; } + + /// + /// Desc:路径编号 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "path_code")] + public string pathCode { get; set; } + + /// + /// Desc:路径名称 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "path_name")] + public string pathName { get; set; } + + /// + /// Desc:是否标识:1-是;0-否 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "is_flag")] + public int? isFlag { get; set; } + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "remark")] + public string remark { get; set; } + + /// + /// Desc:创建人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_by")] + public string createdBy { get; set; } + + /// + /// Desc:创建时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_time")] + public DateTime? createdTime { get; set; } + + /// + /// Desc:更新人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_by")] + public string updatedBy { get; set; } + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_time")] + public DateTime? updatedTime { get; set; } + } +} diff --git a/Sln.Wcs.Model/Domain/BaseStoreInfo.cs b/Sln.Wcs.Model/Domain/BaseStoreInfo.cs new file mode 100644 index 0000000..58e16e0 --- /dev/null +++ b/Sln.Wcs.Model/Domain/BaseStoreInfo.cs @@ -0,0 +1,110 @@ +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Model.Domain +* 唯一标识:1662ee15-9ae3-4e65-9801-3244af44103f +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:21:18 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Model.Domain +{ + /// + ///仓库信息 + /// + [SugarTable("base_store_info"), TenantAttribute("core")] + public class BaseStoreInfo + { + /// + /// Desc:主键标识 + /// Default: + /// Nullable:False + /// + [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "obj_id")] + public int objId { get; set; } + + /// + /// Desc:仓库编号 + /// Default: + /// Nullable:False + /// + [SugarColumn(ColumnName = "store_code")] + public string storeCode { get; set; } + + /// + /// Desc:仓库名称 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "store_name")] + public string storeName { get; set; } + + /// + /// Desc:是否表示:1-是;0-否 + /// Default:0 + /// Nullable:True + /// + [SugarColumn(ColumnName = "is_flag")] + public int? isFlag { get; set; } + + /// + /// Desc:备注 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "remark")] + public string remark { get; set; } + + /// + /// Desc:创建人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_by")] + public string createdBy { get; set; } + + /// + /// Desc:创建时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "created_time")] + public DateTime? createdTime { get; set; } + + /// + /// Desc:更新人 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_by")] + public string updatedBy { get; set; } + + /// + /// Desc:更新时间 + /// Default: + /// Nullable:True + /// + [SugarColumn(ColumnName = "updated_time")] + public DateTime? updatedTime { get; set; } + } +} diff --git a/Sln.Wcs.Repository/service/IBaseDeviceInfoService.cs b/Sln.Wcs.Repository/service/IBaseDeviceInfoService.cs new file mode 100644 index 0000000..5bbd2a7 --- /dev/null +++ b/Sln.Wcs.Repository/service/IBaseDeviceInfoService.cs @@ -0,0 +1,14 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Sln.Wcs.Repository.service +{ + public interface IBaseDeviceInfoService : IBaseService + { + } +} diff --git a/Sln.Wcs.Repository/service/IBaseLocationInfoService.cs b/Sln.Wcs.Repository/service/IBaseLocationInfoService.cs new file mode 100644 index 0000000..3be8feb --- /dev/null +++ b/Sln.Wcs.Repository/service/IBaseLocationInfoService.cs @@ -0,0 +1,14 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Sln.Wcs.Repository.service +{ + public interface IBaseLocationInfoService:IBaseService + { + } +} diff --git a/Sln.Wcs.Repository/service/IBaseMaterialInfoService.cs b/Sln.Wcs.Repository/service/IBaseMaterialInfoService.cs new file mode 100644 index 0000000..bdb680e --- /dev/null +++ b/Sln.Wcs.Repository/service/IBaseMaterialInfoService.cs @@ -0,0 +1,14 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Sln.Wcs.Repository.service +{ + public interface IBaseMaterialInfoService:IBaseService + { + } +} diff --git a/Sln.Wcs.Repository/service/IBasePathDetailsService.cs b/Sln.Wcs.Repository/service/IBasePathDetailsService.cs new file mode 100644 index 0000000..b1e568c --- /dev/null +++ b/Sln.Wcs.Repository/service/IBasePathDetailsService.cs @@ -0,0 +1,14 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Sln.Wcs.Repository.service +{ + public interface IBasePathDetailsService:IBaseService + { + } +} diff --git a/Sln.Wcs.Repository/service/IBasePathInfoService.cs b/Sln.Wcs.Repository/service/IBasePathInfoService.cs new file mode 100644 index 0000000..5f90316 --- /dev/null +++ b/Sln.Wcs.Repository/service/IBasePathInfoService.cs @@ -0,0 +1,14 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Sln.Wcs.Repository.service +{ + public interface IBasePathInfoService:IBaseService + { + } +} diff --git a/Sln.Wcs.Repository/service/IBaseStoreInfoService.cs b/Sln.Wcs.Repository/service/IBaseStoreInfoService.cs new file mode 100644 index 0000000..0056b71 --- /dev/null +++ b/Sln.Wcs.Repository/service/IBaseStoreInfoService.cs @@ -0,0 +1,14 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Sln.Wcs.Repository.service +{ + public interface IBaseStoreInfoService:IBaseService + { + } +} diff --git a/Sln.Wcs.Repository/service/Impl/BaseDeviceInfoServiceImpl.cs b/Sln.Wcs.Repository/service/Impl/BaseDeviceInfoServiceImpl.cs new file mode 100644 index 0000000..85db392 --- /dev/null +++ b/Sln.Wcs.Repository/service/Impl/BaseDeviceInfoServiceImpl.cs @@ -0,0 +1,39 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Repository.service.Impl +* 唯一标识:6990ddb2-4013-42e6-b721-ef9ae41bcf70 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:31:19 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Repository.service.Impl +{ + public class BaseDeviceInfoServiceImpl : BaseServiceImpl, IBaseDeviceInfoService + { + public BaseDeviceInfoServiceImpl(Repository rep) : base(rep) + { + } + } +} diff --git a/Sln.Wcs.Repository/service/Impl/BaseLocationInfoServiceImpl.cs b/Sln.Wcs.Repository/service/Impl/BaseLocationInfoServiceImpl.cs new file mode 100644 index 0000000..e7e1bd6 --- /dev/null +++ b/Sln.Wcs.Repository/service/Impl/BaseLocationInfoServiceImpl.cs @@ -0,0 +1,39 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Repository.service.Impl +* 唯一标识:e4191f7c-0aa2-4437-9195-a4e001395e85 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:32:22 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Repository.service.Impl +{ + public class BaseLocationInfoServiceImpl : BaseServiceImpl, IBaseLocationInfoService + { + public BaseLocationInfoServiceImpl(Repository rep) : base(rep) + { + } + } +} diff --git a/Sln.Wcs.Repository/service/Impl/BaseMaterialInfoServiceImpl.cs b/Sln.Wcs.Repository/service/Impl/BaseMaterialInfoServiceImpl.cs new file mode 100644 index 0000000..32c4b16 --- /dev/null +++ b/Sln.Wcs.Repository/service/Impl/BaseMaterialInfoServiceImpl.cs @@ -0,0 +1,39 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Repository.service.Impl +* 唯一标识:f8b5ccd9-4625-449a-b066-fe976b3db770 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:33:05 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Repository.service.Impl +{ + public class BaseMaterialInfoServiceImpl : BaseServiceImpl, IBaseMaterialInfoService + { + public BaseMaterialInfoServiceImpl(Repository rep) : base(rep) + { + } + } +} diff --git a/Sln.Wcs.Repository/service/Impl/BasePathDetailsServiceImpl.cs b/Sln.Wcs.Repository/service/Impl/BasePathDetailsServiceImpl.cs new file mode 100644 index 0000000..74c4c4a --- /dev/null +++ b/Sln.Wcs.Repository/service/Impl/BasePathDetailsServiceImpl.cs @@ -0,0 +1,39 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Repository.service.Impl +* 唯一标识:0639e100-f810-46fb-b590-82ff4b4eedd5 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:34:17 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Repository.service.Impl +{ + public class BasePathDetailsServiceImpl : BaseServiceImpl, IBasePathDetailsService + { + public BasePathDetailsServiceImpl(Repository rep) : base(rep) + { + } + } +} diff --git a/Sln.Wcs.Repository/service/Impl/BasePathInfoServiceImpl.cs b/Sln.Wcs.Repository/service/Impl/BasePathInfoServiceImpl.cs new file mode 100644 index 0000000..8430dbd --- /dev/null +++ b/Sln.Wcs.Repository/service/Impl/BasePathInfoServiceImpl.cs @@ -0,0 +1,39 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Repository.service.Impl +* 唯一标识:0603d318-2ae9-474e-a474-586ac1a1b9f6 +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:34:47 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Repository.service.Impl +{ + public class BasePathInfoServiceImpl : BaseServiceImpl, IBasePathInfoService + { + public BasePathInfoServiceImpl(Repository rep) : base(rep) + { + } + } +} diff --git a/Sln.Wcs.Repository/service/Impl/BaseStoreInfoServiceImpl.cs b/Sln.Wcs.Repository/service/Impl/BaseStoreInfoServiceImpl.cs new file mode 100644 index 0000000..5cf75ca --- /dev/null +++ b/Sln.Wcs.Repository/service/Impl/BaseStoreInfoServiceImpl.cs @@ -0,0 +1,39 @@ +using Sln.Wcs.Model.Domain; +using Sln.Wcs.Repository.service.@base; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +#region << 版 本 注 释 >> +/*-------------------------------------------------------------------- +* 版权所有 (c) 2026 WenJY 保留所有权利。 +* CLR版本:4.0.30319.42000 +* 机器名称:T14-GEN3-7895 +* 命名空间:Sln.Wcs.Repository.service.Impl +* 唯一标识:e57e4328-bde4-4943-843a-af619537db3b +* +* 创建者:WenJY +* 电子邮箱: +* 创建时间:2026-03-25 16:35:17 +* 版本:V1.0.0 +* 描述: +* +*-------------------------------------------------------------------- +* 修改人: +* 时间: +* 修改说明: +* +* 版本:V1.0.0 +*--------------------------------------------------------------------*/ +#endregion << 版 本 注 释 >> +namespace Sln.Wcs.Repository.service.Impl +{ + public class BaseStoreInfoServiceImpl : BaseServiceImpl, IBaseStoreInfoService + { + public BaseStoreInfoServiceImpl(Repository rep) : base(rep) + { + } + } +} diff --git a/Sln.Wcs.Repository/base/BaseServiceImpl.cs b/Sln.Wcs.Repository/service/base/BaseServiceImpl.cs similarity index 99% rename from Sln.Wcs.Repository/base/BaseServiceImpl.cs rename to Sln.Wcs.Repository/service/base/BaseServiceImpl.cs index 6540215..08d2487 100644 --- a/Sln.Wcs.Repository/base/BaseServiceImpl.cs +++ b/Sln.Wcs.Repository/service/base/BaseServiceImpl.cs @@ -28,7 +28,7 @@ using System.Threading.Tasks; * 版本:V1.0.0 *--------------------------------------------------------------------*/ #endregion << 版 本 注 释 >> -namespace Sln.Wcs.Repository.@base +namespace Sln.Wcs.Repository.service.@base { public class BaseServiceImpl : IBaseService where T : class, new() { diff --git a/Sln.Wcs.Repository/base/IBaseService.cs b/Sln.Wcs.Repository/service/base/IBaseService.cs similarity index 98% rename from Sln.Wcs.Repository/base/IBaseService.cs rename to Sln.Wcs.Repository/service/base/IBaseService.cs index ada987d..d28482b 100644 --- a/Sln.Wcs.Repository/base/IBaseService.cs +++ b/Sln.Wcs.Repository/service/base/IBaseService.cs @@ -5,7 +5,7 @@ using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; -namespace Sln.Wcs.Repository.@base +namespace Sln.Wcs.Repository.service.@base { public interface IBaseService where T : class { diff --git a/Sln.Wcs/Program.cs b/Sln.Wcs/Program.cs index 0240093..adda1de 100644 --- a/Sln.Wcs/Program.cs +++ b/Sln.Wcs/Program.cs @@ -7,6 +7,7 @@ using Newtonsoft.Json; using Sln.Wcs.HikRoBotSdk; using Sln.Wcs.Model.Configs; using Sln.Wcs.Repository; +using Sln.Wcs.Repository.service; using Sln.Wcs.Serilog; using ZiggyCreatures.Caching.Fusion; using ZiggyCreatures.Caching.Fusion.Serialization.NewtonsoftJson; @@ -30,7 +31,6 @@ namespace Sln.Wcs log.Info($"系统启动成功,日志存放位置:{config["logPath"]}"); - } private static void ConfigureServices(IServiceCollection services)