Browse Source

cooling加条件限制

lixiang 1 year ago
parent
commit
9fdde379d4

+ 1 - 1
Venus/Venus_RT/App.config

@@ -28,7 +28,7 @@
 	<connectionStrings>
 		<add name="PostgreSQL"   connectionString="Server=localhost;Port=5432;User Id=postgres;Password=123456;Database=postgres;Enlist=true;Preload Reader=true;" />
 		<!--0是other,1是kepler2300,2是Kepler2200,3是VenusSE,4是VenusDE-->
-		<add name="ConfigType"   connectionString="3"/>
+		<add name="ConfigType"   connectionString="2"/>
 	</connectionStrings>
 	<system.serviceModel>
 		<!--<diagnostics>

+ 1 - 1
Venus/Venus_RT/Modules/LLs/LLEntity.cs

@@ -473,7 +473,7 @@ namespace Venus_RT.Modules
             }
 
 
-            if (IsATM && _coolingFlag)
+            if (IsATM && _coolingFlag && Singleton<RouteManager>.Instance.IsAutoRunning && _coolingTime>0)
             {
                 PostMsg(MSG.AutoCooling);
             }

+ 1 - 1
Venus/Venus_Simulator/App.config

@@ -4,7 +4,7 @@
 		<section name="customSettings" type="System.Configuration.NameValueSectionHandler"/>
 	</configSections>
 	<customSettings>
-		<add key="SimulatorType" value="3"/>
+		<add key="SimulatorType" value="2"/>
 	</customSettings>
     <startup> 
         <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />