#004 增加分发功能

This commit is contained in:
HM-CN\zhengxuan.zhang
2025-08-06 15:38:06 +08:00
parent dd24937c1f
commit 247699faf6
43 changed files with 664 additions and 1137 deletions
-23
View File
@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</configSections>
<entityFramework>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
</providers>
</entityFramework>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
</startup>
<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite.EF6" />
<add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
<remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories>
</system.data>
</configuration>
Binary file not shown.
+15 -12
View File
@@ -1,12 +1,15 @@
2025-08-05 09:09:41.596----软件Program Main函数开始执行--
2025-08-05 09:09:41.600--加载配置文件——>开始
2025-08-05 09:09:41.633--加载配置文件错误:System.FormatException: 输入字符串的格式不正确。
在 System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
在 System.Double.Parse(String s)
在 NSAnalysis.ConfigDfn.LoadConfig() 位置 D:\HexagonProjects\2025-01-捷豹路虎改造\code\Analysis\Define\Define.cs:行号 138
在 NSAnalysis.ConfigDfn.LoadConfigFile() 位置 D:\HexagonProjects\2025-01-捷豹路虎改造\code\Analysis\Define\Define.cs:行号 202
2025-08-05 09:09:42.414--数据库连接 SqlServerName127.0.0.1
2025-08-05 09:09:42.415--数据库连接 SqlUserNamesa
2025-08-05 09:09:42.417--数据库连接 SqlPasswordHexagon123
2025-08-05 09:09:42.419--数据库连接 SqlDbNameCJLR
2025-08-05 09:09:42.420--数据库连接字符串:Data Source=127.0.0.1;initial Catalog=CJLR;User ID=sa;password=Hexagon123;
2025-08-06 15:35:41.846----软件Program Main函数开始执行--
2025-08-06 15:35:41.848--加载配置文件——>开始
2025-08-06 15:35:41.870--数据库连接 SqlServerName127.0.0.1
2025-08-06 15:35:41.871--数据库连接 SqlUserNamesa
2025-08-06 15:35:41.871--数据库连接 SqlPasswordHexagon123
2025-08-06 15:35:41.872--数据库连接 SqlDbNameCJLR
2025-08-06 15:35:41.873--加载配置文件——>完成
2025-08-06 15:35:43.537--数据库连接 SqlServerName127.0.0.1
2025-08-06 15:35:43.537--数据库连接 SqlUserNamesa
2025-08-06 15:35:43.539--数据库连接 SqlPasswordHexagon123
2025-08-06 15:35:43.540--数据库连接 SqlDbNameCJLR
2025-08-06 15:35:43.541--数据库连接字符串:Data Source=127.0.0.1;initial Catalog=CJLR;User ID=sa;password=Hexagon123;
2025-08-06 15:35:43.809-- 进入解析CSV文件模式,开始解析扫码CSV文件!
2025-08-06 15:35:43.810--软件首次启动, Nextsense EH3 CSV读取路径存在;不清空,读取NextSense生成 CSV报告路径下的所有文件,路径为:D:\cherytestEH3
2025-08-06 15:35:43.811--软件首次启动, Nextsense EHY CSV读取路径存在;不清空,读取NextSense生成 CSV报告路径下的所有文件,路径为:D:\cherytestEHY
@@ -17,12 +17,6 @@ CLMSModeID=10
AuthorizationMode=1
;1:上传IOT0:不上传IOT
StartIOTFlag=0
IOTAddress=http://10.188.2.56:9337/web/httpServlet/api/saveGfResult
IOTCarTypeAddr=http://10.188.2.56:9337/web/httpServlet/api/queryGFModelAndMaterial
TolerancePercentage=1.5
ExceptionPercentage=6
;权限密码
@@ -66,17 +60,4 @@ SqlUserName=sa
SqlPassword=Hexagon123
[TCP]
ModbusTcp_IP=127.0.0.1
ModbusTcp_Port=502
ModbusTcp_Addr=1
ModbusTcp_Reconnected=1
PLC_StartAddr=100
PLC_Length=100
PlcType=3
ModbusTcp_ReverseSequence=0
PLC_S7StartAddr=100
PLC_S7ByteLength=200
PLC_S7DataBlock=DB4100
PLC_S7ReadByteCount=200
Binary file not shown.
Binary file not shown.