init: 潍柴发动机线 中央控制程序 项目首次入库

This commit is contained in:
XingCheng3
2026-06-08 12:05:16 +08:00
commit 196c66b9ff
547 changed files with 379162 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="NotHandlerSignal" value="0" />
<add key="IsDemoMesServer" value="1" />
<add key="IsAllowWrite" value="1" />
<add key="BasicDataTableFile" value="WC_CONTROL.xlsx" />
<!--是启用写监控报错日志-->
<add key="IsWriteMonitorLog" value="0" />
<add key="IsWriteLog4" value="1" />
<!--数据库连接-->
<!--<add key="ConnectionString" value="server=.\V2019;database=WC_WP12T_13L;uid=sa;pwd=126.com;Connection Reset=FALSE;Max Pool Size = 1000" />-->
<add key="ConnectionString" value="server=.,1333;database=WC_WP12T_13L;uid=sa;pwd=126.com;Connection Reset=FALSE;Max Pool Size = 1000" />
<!--上线工位名称-->
<add key="OPCodes_LineSet" value="OP3020" />
<add key="LineID_Product" value="120000001" />
<!--BOM接口 测试环境-->
<add key="WebAPI_Url_Boms" value="http://10.0.11.40:9000/open/listBoms" />
<!--BOM接口 正式环境-->
<!--<add key="WebAPI_Url_Boms" value="http://mes4api.weichai.com/open/listBoms" />-->
<add key="WebAPI_Url_Quality" value="http://mes4api.weichai.com/open/saveTwoPlant" />
<add key="ProgramPartial" value="2" />
<add key="WebSvrPort" value="9981" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<appSettings>
<!--<add key="ConnectionString" value="server=10.81.128.40;database=DC_PWT_A95;uid=sa;pwd=126.com;Connection Reset=FALSE;Max Pool Size = 1000"/>-->
<add key="ConnectionString" value="server=.;database=WC_WP12T_13L;uid=sa;pwd=126.com;Connection Reset=FALSE;Max Pool Size = 1000"/>
<add key="SyncTimePoin_TomorrowPlan" value="7:00"/>
<!--计划接口 测试环境-->
<!--<add key="WebAPI_Url_Plans" value="http://10.0.11.225:9100/open/listPlans" />-->
<!--计划接口 正式环境-->
<add key="WebAPI_Url_Plans" value="http://mes4api.weichai.com/open/listPlans" />
<!--扫码接口 正式环境-->
<add key="WebAPI_Url_BarCodePlans" value="http://mes4api.weichai.com/open/listPlansByTime" />
<!--MisFun程序接口 正式环境-->
<add key="WebAPI_Url_MisFun" value="http://127.0.0.1:9981/api/IOrder/MisFunction" />
<!--BOM接口 测试环境-->
<add key="WebAPI_Url_Boms" value="http://10.0.11.40:9000/open/listBoms" />
<!--BOM接口 正式环境-->
<!--<add key="WebAPI_Url_Boms" value="http://mes4api.weichai.com/open/listBoms" />-->
</appSettings>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<log4net>
<!--Info日志-->
<appender name="InfoAppender" type="log4net.Appender.RollingFileAppender">
<!--日志文件存放位置,可以为绝对路径也可以为相对路径 -->
<param name="File" value="C:\MWLOG" />
<!--是否支持分割文件-->
<param name="AppendToFile" value="true" />
<param name="MaxFileSize" value="10240" />
<!--当日志文件达到MaxFileSize大小就自动创建备份文件。-->
<param name="MaxSizeRollBackups" value="100" />
<!-- 当将日期作为日志文件的名字时必须将staticLogFileName的值设置为false -->
<param name="StaticLogFileName" value="false" />
<!-- 日志文件的命名规则 -->
<param name="DatePattern" value="\\yyyy_MM\\yyyy_MM_dd'.log'" />
<!--日志文件的记录形式-->
<param name="RollingStyle" value="Date" />
<!--日志文件的布局格式:%newline【%date】【级别%-5level】【线程ID%thread】%n【内容】%message%newline %n%n-->
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="【%date】【线程ID%thread】%message%newline %n%n" />
</layout>
</appender>
<!--Info日志-->
<logger name="LogInfo">
<level value="INFO" />
<appender-ref ref="InfoAppender" />
</logger>
</log4net>
</configuration>

Binary file not shown.