将 命名 PVDEMCS 改为 CVDEMCS

main
xiaoguo 1 year ago
parent c2387eccf8
commit 20c69cdfc2

@ -1,4 +1,4 @@
namespace PVDEMCS.Common.Constant namespace CVDEMCS.Common.Constant
{ {

@ -4,7 +4,7 @@ using Autofac;
using Autofac.Extensions.DependencyInjection; using Autofac.Extensions.DependencyInjection;
using Module = Autofac.Module; using Module = Autofac.Module;
namespace PVDEMCS.Common.DI; namespace CVDEMCS.Common.DI;
/// <summary> /// <summary>
/// 自定义扩展 Autofac 方法 /// 自定义扩展 Autofac 方法

@ -4,7 +4,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PVDEMCS.Common.DI namespace CVDEMCS.Common.DI
{ {
/// <summary> /// <summary>
/// 依赖注入接口表示该接口的实现类将自动注册到IoC容器中 /// 依赖注入接口表示该接口的实现类将自动注册到IoC容器中

@ -9,7 +9,7 @@ using System.Data.Common;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
namespace PVDEMCS.Common.EF namespace CVDEMCS.Common.EF
{ {
public static class EFSqlHelper public static class EFSqlHelper
{ {

@ -1,5 +1,5 @@
using GuideScreen.Common.Common; using GuideScreen.Common.Common;
using PVDEMCS.Services; using CVDEMCS.Services;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Configuration; using System.Configuration;
@ -8,7 +8,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PVDEMCS.Common.Log namespace CVDEMCS.Common.Log
{ {
/// <summary> /// <summary>
/// 日志扩展 /// 日志扩展

@ -5,7 +5,7 @@ using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PVDEMCS.Common namespace CVDEMCS.Common
{ {
public class Result public class Result
{ {

@ -6,7 +6,7 @@ using System.Linq.Expressions;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace PVDEMCS.Common.Tools namespace CVDEMCS.Common.Tools
{ {
public class ModelTools public class ModelTools
{ {

@ -3,16 +3,16 @@ using Masuit.Tools;
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using PVDEMCS.Devices.Impl; using CVDEMCS.Devices.Impl;
using PVDEMCS.Services; using CVDEMCS.Services;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using SharpCompress.Common; using SharpCompress.Common;
using System; using System;
namespace PVDEMCS.Controllers namespace CVDEMCS.Controllers
{ {
/// <summary> /// <summary>
/// PLC控制器 /// PLC控制器

@ -2,15 +2,15 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using PVDEMCS.Services; using CVDEMCS.Services;
using PVDEMCS.Services.Impl; using CVDEMCS.Services.Impl;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using System; using System;
namespace PVDEMCS.Controllers namespace CVDEMCS.Controllers
{ {
/// <summary> /// <summary>
/// 设备管理 /// 设备管理

@ -2,13 +2,13 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Services; using CVDEMCS.Services;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using System; using System;
namespace PVDEMCS.Controllers namespace CVDEMCS.Controllers
{ {
/// <summary> /// <summary>
/// 设备数据记录与统计 /// 设备数据记录与统计

@ -2,12 +2,12 @@
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.EntityFrameworkCore.Metadata.Internal;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services; using CVDEMCS.Services;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using System.Xml.Linq; using System.Xml.Linq;
namespace PVDEMCS.Controllers namespace CVDEMCS.Controllers
{ {
/// <summary> /// <summary>
/// 系统参数设置 /// 系统参数设置

@ -1,15 +1,15 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services; using CVDEMCS.Services;
using System; using System;
using Masuit.Tools.Security; using Masuit.Tools.Security;
using Masuit.Tools; using Masuit.Tools;
using Microsoft.AspNetCore.Identity; using Microsoft.AspNetCore.Identity;
using System.Security.Policy; using System.Security.Policy;
namespace PVDEMCS.Controllers namespace CVDEMCS.Controllers
{ {
/// <summary> /// <summary>
/// 用户信息 /// 用户信息

@ -1,4 +1,4 @@
namespace PVDEMCS.Devices namespace CVDEMCS.Devices
{ {
public sealed class DeviceProtocol public sealed class DeviceProtocol
{ {

@ -1,9 +1,9 @@
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services; using CVDEMCS.Services;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using System.Threading; using System.Threading;
namespace PVDEMCS.Devices namespace CVDEMCS.Devices
{ {
/// <summary> /// <summary>
/// 设备运行 /// 设备运行

@ -7,10 +7,10 @@ using System.Net.Sockets;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using HslCommunication.Profinet.Siemens; using HslCommunication.Profinet.Siemens;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
namespace PVDEMCS.Devices namespace CVDEMCS.Devices
{ {
/// <summary> /// <summary>
/// PLC通信接口 /// PLC通信接口

@ -1,11 +1,11 @@
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Log; using CVDEMCS.Common.Log;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using System.Security.Cryptography; using System.Security.Cryptography;
namespace PVDEMCS.Devices.Impl namespace CVDEMCS.Devices.Impl
{ {
/// <summary> /// <summary>
/// 控制器点位监控 /// 控制器点位监控

@ -1,15 +1,15 @@
using AngleSharp.Css.Dom; using AngleSharp.Css.Dom;
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Common.Log; using CVDEMCS.Common.Log;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using PVDEMCS.Services; using CVDEMCS.Services;
using PVDEMCS.Services.Impl; using CVDEMCS.Services.Impl;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using System.Linq; using System.Linq;
using System.Threading; using System.Threading;
namespace PVDEMCS.Devices.Impl namespace CVDEMCS.Devices.Impl
{ {
/// <summary> /// <summary>
/// 设备运行 /// 设备运行

@ -12,11 +12,11 @@ using HslCommunication.Core;
using HslCommunication; using HslCommunication;
using HslCommunication.Profinet.Siemens; using HslCommunication.Profinet.Siemens;
using HslCommunication.Reflection; using HslCommunication.Reflection;
using PVDEMCS.Common.Tools; using CVDEMCS.Common.Tools;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using PVDEMCS.Common; using CVDEMCS.Common;
namespace PVDEMCS.Devices.Impl namespace CVDEMCS.Devices.Impl
{ {
/// <summary> /// <summary>
/// PLC通信服务 SiemensS7 smart200 实现 /// PLC通信服务 SiemensS7 smart200 实现

@ -5,7 +5,7 @@
throwExceptions="false" throwExceptions="false"
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log"> internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">
<variable name="appName" value="PVDEMCS"/> <variable name="appName" value="CVDEMCS"/>
<targets> <targets>
<target name="logconsole" xsi:type="Console" <target name="logconsole" xsi:type="Console"

@ -2,11 +2,11 @@ using Masuit.Tools;
using Masuit.Tools.Reflection; using Masuit.Tools.Reflection;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.OpenApi.Models; using Microsoft.OpenApi.Models;
using PVDEMCS; using CVDEMCS;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common.Log; using CVDEMCS.Common.Log;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using PVDEMCS.Services; using CVDEMCS.Services;
using System.Configuration; using System.Configuration;
using System.Reflection; using System.Reflection;
@ -19,7 +19,7 @@ builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer(); builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen(options => builder.Services.AddSwaggerGen(options =>
{ {
//options.SwaggerDoc("v1", new OpenApiInfo { Title = "PVDEMCS Api", Version = "v1" }); //options.SwaggerDoc("v1", new OpenApiInfo { Title = "CVDEMCS Api", Version = "v1" });
var xmlPathApp = Path.Combine(AppContext.BaseDirectory, $"{Assembly.GetExecutingAssembly().GetName().Name}.xml"); var xmlPathApp = Path.Combine(AppContext.BaseDirectory, $"{Assembly.GetExecutingAssembly().GetName().Name}.xml");
options.IncludeXmlComments(xmlPathApp, true); options.IncludeXmlComments(xmlPathApp, true);
}); });

@ -1,11 +1,11 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories; using CVDEMCS.Services.Repositories;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
namespace PVDEMCS.Services namespace CVDEMCS.Services
{ {
/// <summary> /// <summary>
/// PLC控制器 服务层 接口 /// PLC控制器 服务层 接口

@ -1,10 +1,10 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
namespace PVDEMCS.Services namespace CVDEMCS.Services
{ {
/// <summary> /// <summary>
/// 设备数据记录与统计 服务层 接口 /// 设备数据记录与统计 服务层 接口

@ -1,10 +1,10 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
namespace PVDEMCS.Services namespace CVDEMCS.Services
{ {
/// <summary> /// <summary>
/// 设备管理 服务层 接口 /// 设备管理 服务层 接口

@ -1,8 +1,8 @@
using GuideScreen.Common.Common; using GuideScreen.Common.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using System; using System;
namespace PVDEMCS.Services namespace CVDEMCS.Services
{ {
/// <summary> /// <summary>
/// 日志服务 接口 /// 日志服务 接口

@ -1,10 +1,10 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
namespace PVDEMCS.Services namespace CVDEMCS.Services
{ {
/// <summary> /// <summary>
/// 系统参数设置 服务层 接口 /// 系统参数设置 服务层 接口

@ -1,10 +1,10 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
namespace PVDEMCS.Services namespace CVDEMCS.Services
{ {
/// <summary> /// <summary>
/// 用户信息 服务层 接口 /// 用户信息 服务层 接口

@ -1,15 +1,15 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Tools; using CVDEMCS.Common.Tools;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories; using CVDEMCS.Services.Repositories;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Repositories.Impl; using CVDEMCS.Services.Repositories.Impl;
using System; using System;
namespace PVDEMCS.Services.Impl namespace CVDEMCS.Services.Impl
{ {
/// <summary> /// <summary>
/// PLC控制器 服务层 实现 /// PLC控制器 服务层 实现

@ -1,15 +1,15 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories; using CVDEMCS.Services.Repositories;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using System; using System;
using PVDEMCS.Common.Tools; using CVDEMCS.Common.Tools;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
namespace PVDEMCS.Services.Impl namespace CVDEMCS.Services.Impl
{ {
/// <summary> /// <summary>
/// 设备数据记录与统计 服务层 实现 /// 设备数据记录与统计 服务层 实现

@ -1,17 +1,17 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories; using CVDEMCS.Services.Repositories;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Common.Tools; using CVDEMCS.Common.Tools;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Repositories.Impl; using CVDEMCS.Services.Repositories.Impl;
using PVDEMCS.Devices; using CVDEMCS.Devices;
using Masuit.Tools; using Masuit.Tools;
namespace PVDEMCS.Services.Impl namespace CVDEMCS.Services.Impl
{ {
/// <summary> /// <summary>
/// 设备管理 服务层 接口 /// 设备管理 服务层 接口

@ -7,9 +7,9 @@ using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using NLog; using NLog;
using PVDEMCS.Services; using CVDEMCS.Services;
namespace PVDEMCS.Services.Impl namespace CVDEMCS.Services.Impl
{ {
/// <summary> /// <summary>
/// 日志服务 实现 /// 日志服务 实现

@ -1,14 +1,14 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Repositories; using CVDEMCS.Services.Repositories;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common.Tools; using CVDEMCS.Common.Tools;
using PVDEMCS.Services.Repositories.Impl; using CVDEMCS.Services.Repositories.Impl;
namespace PVDEMCS.Services.Impl namespace CVDEMCS.Services.Impl
{ {
/// <summary> /// <summary>
/// 系统参数设置 服务层 实现 /// 系统参数设置 服务层 实现

@ -1,14 +1,14 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Repositories; using CVDEMCS.Services.Repositories;
using PVDEMCS.Common.Tools; using CVDEMCS.Common.Tools;
using PVDEMCS.Services.Repositories.Impl; using CVDEMCS.Services.Repositories.Impl;
using AngleSharp.Dom; using AngleSharp.Dom;
namespace PVDEMCS.Services.Impl namespace CVDEMCS.Services.Impl
{ {
/// <summary> /// <summary>
/// 用户信息 服务层 实现 /// 用户信息 服务层 实现

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// PLC控制器 /// PLC控制器

@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// PLC点位 /// PLC点位

@ -4,7 +4,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// 设备信息 /// 设备信息

@ -1,4 +1,4 @@
namespace PVDEMCS.Services.Models namespace CVDEMCS.Services.Models
{ {
/// <summary> /// <summary>
/// 设备OEE月统计 /// 设备OEE月统计

@ -1,4 +1,4 @@
namespace PVDEMCS.Services.Models namespace CVDEMCS.Services.Models
{ {
/// <summary> /// <summary>
/// 设备OEE月统计 /// 设备OEE月统计

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// 设备状态记录明显 /// 设备状态记录明显

@ -2,7 +2,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// 设备状态记录日统计 /// 设备状态记录日统计

@ -1,4 +1,4 @@
namespace PVDEMCS.Services.Models namespace CVDEMCS.Services.Models
{ {
/// <summary> /// <summary>
/// 设备记录开炉次数月统计 /// 设备记录开炉次数月统计

@ -1,4 +1,4 @@
namespace PVDEMCS.Services.Models namespace CVDEMCS.Services.Models
{ {
/// <summary> /// <summary>
/// 设备状态记录月统计 /// 设备状态记录月统计

@ -1,7 +1,7 @@
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
namespace PVDEMCS.Services.Models namespace CVDEMCS.Services.Models
{ {
/// <summary> /// <summary>
/// 设备状态记录OEE月统计 /// 设备状态记录OEE月统计

@ -2,7 +2,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// 设备状态记录统计 /// 设备状态记录统计

@ -1,4 +1,4 @@
namespace PVDEMCS.Services.Models namespace CVDEMCS.Services.Models
{ {
/// <summary> /// <summary>
/// 设备状态记录模型 /// 设备状态记录模型

@ -1,4 +1,4 @@
namespace PVDEMCS.Services.Models namespace CVDEMCS.Services.Models
{ {
/// <summary> /// <summary>
/// 设备状态总览 /// 设备状态总览

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// 参数配置表 /// 参数配置表

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace PVDEMCS.Services.Models; namespace CVDEMCS.Services.Models;
/// <summary> /// <summary>
/// 用户信息表 /// 用户信息表

@ -3,7 +3,7 @@ using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Masuit.Tools.Systems; using Masuit.Tools.Systems;
namespace PVDEMCS.Services.Repositories.Entities.BaseEntity namespace CVDEMCS.Services.Repositories.Entities.BaseEntity
{ {
public abstract class BaseEntity public abstract class BaseEntity
{ {

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>
/// PLC控制器 /// PLC控制器

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>
/// PLC点位 /// PLC点位

@ -4,9 +4,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
public partial class EFContext : DbContext public partial class EFContext : DbContext
{ {

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>
/// 设备信息 /// 设备信息
/// </summary> /// </summary>

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>
/// 参数配置表 /// 参数配置表

@ -5,9 +5,9 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using PVDEMCS.Services.Repositories.Entities.BaseEntity; using CVDEMCS.Services.Repositories.Entities.BaseEntity;
namespace PVDEMCS.Services.Repositories.Entities; namespace CVDEMCS.Services.Repositories.Entities;
/// <summary> /// <summary>
/// 用户信息表 /// 用户信息表

@ -1,11 +1,11 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
namespace PVDEMCS.Services.Repositories namespace CVDEMCS.Services.Repositories
{ {
/// <summary> /// <summary>
/// PLC控制器 数据层 接口 /// PLC控制器 数据层 接口

@ -1,13 +1,13 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
namespace PVDEMCS.Services.Repositories namespace CVDEMCS.Services.Repositories
{ {
/// <summary> /// <summary>
/// 设备数据记录与统计 数据层 接口 /// 设备数据记录与统计 数据层 接口

@ -1,11 +1,11 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
namespace PVDEMCS.Services.Repositories namespace CVDEMCS.Services.Repositories
{ {
/// <summary> /// <summary>
/// 设备管理 数据层 接口 /// 设备管理 数据层 接口

@ -1,11 +1,11 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
namespace PVDEMCS.Services.Repositories namespace CVDEMCS.Services.Repositories
{ {
/// <summary> /// <summary>
/// 系统参数设置 数据层 接口 /// 系统参数设置 数据层 接口

@ -1,11 +1,11 @@
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
namespace PVDEMCS.Services.Repositories namespace CVDEMCS.Services.Repositories
{ {
/// <summary> /// <summary>
/// 用户信息 数据层 接口 /// 用户信息 数据层 接口

@ -2,16 +2,16 @@
using Masuit.Tools; using Masuit.Tools;
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using SharpCompress.Common; using SharpCompress.Common;
using System; using System;
using static Microsoft.EntityFrameworkCore.DbLoggerCategory; using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
namespace PVDEMCS.Services.Repositories.Impl namespace CVDEMCS.Services.Repositories.Impl
{ {
/// <summary> /// <summary>
/// PLC控制器 数据层 实现 /// PLC控制器 数据层 实现

@ -5,18 +5,18 @@ using Masuit.Tools.DateTimeExt;
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using NLog.LayoutRenderers.Wrappers; using NLog.LayoutRenderers.Wrappers;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Common.EF; using CVDEMCS.Common.EF;
using PVDEMCS.Common.Tools; using CVDEMCS.Common.Tools;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using SixLabors.ImageSharp.Processing.Processors.Transforms; using SixLabors.ImageSharp.Processing.Processors.Transforms;
using System; using System;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
namespace PVDEMCS.Services.Repositories.Impl namespace CVDEMCS.Services.Repositories.Impl
{ {
/* /*

@ -1,12 +1,12 @@
using Masuit.Tools; using Masuit.Tools;
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
namespace PVDEMCS.Services.Repositories namespace CVDEMCS.Services.Repositories
{ {
/// <summary> /// <summary>
/// 设备信息 数据层 实现 /// 设备信息 数据层 实现

@ -1,11 +1,11 @@
using Masuit.Tools; using Masuit.Tools;
using Masuit.Tools.Models; using Masuit.Tools.Models;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
namespace PVDEMCS.Services.Repositories.Impl namespace CVDEMCS.Services.Repositories.Impl
{ {
/// <summary> /// <summary>
/// 系统参数设置 数据层 实现 /// 系统参数设置 数据层 实现

@ -2,13 +2,13 @@
using Masuit.Tools; using Masuit.Tools;
using Masuit.Tools.Models; using Masuit.Tools.Models;
using Microsoft.EntityFrameworkCore.Metadata.Internal; using Microsoft.EntityFrameworkCore.Metadata.Internal;
using PVDEMCS.Common; using CVDEMCS.Common;
using PVDEMCS.Common.DI; using CVDEMCS.Common.DI;
using PVDEMCS.Services.Models; using CVDEMCS.Services.Models;
using PVDEMCS.Services.Repositories.Entities; using CVDEMCS.Services.Repositories.Entities;
using static Microsoft.EntityFrameworkCore.DbLoggerCategory; using static Microsoft.EntityFrameworkCore.DbLoggerCategory;
namespace PVDEMCS.Services.Repositories namespace CVDEMCS.Services.Repositories
{ {
/// <summary> /// <summary>
/// 用户信息 数据层 实现 /// 用户信息 数据层 实现

@ -1,7 +1,7 @@
using Masuit.Tools; using Masuit.Tools;
using PVDEMCS.Common.Constant; using CVDEMCS.Common.Constant;
namespace PVDEMCS namespace CVDEMCS
{ {
public class Test public class Test
{ {

Loading…
Cancel
Save