Преглед на файлове

自动启动轻量化

Signed-off-by: wangwei <wangwei@persagy.com>
wangwei преди 4 години
родител
ревизия
a599f61e72

+ 1 - 1
Dispatcher/Client/app.config

@@ -2,7 +2,7 @@
 <configuration>
   <appSettings>
     <!--<add key="IP" value="172.16.42.210" />-->
-    <add key="IP" value="47.94.89.44" />
+	<add key="IP" value="60.205.177.43" />
     <add key="Port" value="6666" />
     <add key="DownloadFileDir" value="E:\\" />
     <add key="MaxTaskCount" value="3" />

+ 1 - 1
Executer/DataCheck/TestCommand.cs

@@ -33,7 +33,7 @@ namespace ServiceRevitLib
                 result = Serialze(factory);
 #if DEBUG
                 string fileName = DateTime.Now.ToString("yyyyMMddHHmmss");
-                string path = Path.Combine(@"D:\", $"DataCheck{fileName}.json");
+                string path = Path.Combine(@"E:\", $"DataCheck{fileName}.json");
                 File.WriteAllText(path, result);
 #endif
             }

+ 1 - 1
Executer/MBIRevitBase/App.config

@@ -4,7 +4,7 @@
     <!--<add key="IP" value="http://192.168.20.225"/>
     <add key="Port" value="8082"/>
     <add key="Path" value="/upload-json-zip/upload"/>-->
-    <add key="IP" value="http://47.94.89.44"/>
+    <add key="IP" value="http://60.205.177.43"/>
     <add key="Port" value="8080"/>
     <add key="Path" value="/revit-algorithm/upload-json-zip/upload"/>
   </appSettings>

+ 1 - 1
Executer/MBIRevitBase/Tools/HttpUtils.cs

@@ -94,7 +94,7 @@ namespace MBIRevitBase.Tools
                     var tt = client.PostAsync(url, content);
                     Log4Net.Debug("UploadEnd ");
                     var result = tt.Result;
-
+     
                     Log4Net.Debug("UploadEnd "+ result.IsSuccessStatusCode);
                     if (result.IsSuccessStatusCode)
                     {

+ 1 - 1
Executer/MBIRevitBase/Tools/ZipUtils.cs

@@ -37,7 +37,7 @@ namespace MBIRevitBase.Tools
 
         public static void SaveStream(Stream stream)
         {
-            string path = @"D:\319.zip";
+            string path = @"E:\319.zip";
             using (var fileStream = File.Create(path))
             {
                 stream.CopyTo(fileStream);

+ 1 - 1
Starter/StartVisionSelector/Program.cs

@@ -134,7 +134,7 @@ namespace StartVisionSelector
             }
             catch (Exception ex)
             {
-                File.AppendAllText(@"d:\error.txt", ex.Message + ex.StackTrace);
+                File.AppendAllText(@"e:\error.txt", ex.Message + ex.StackTrace);
                 Console.WriteLine(ex.Message + "\r\n" + ex.StackTrace);
             }
             // string msg = process.StandardOutput.ReadToEnd();//读取输出

+ 1 - 1
Starter/Starter/Logger/log4net.config

@@ -7,7 +7,7 @@
   <log4net>
     <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
       <!--日志路径-->
-      <param name= "File" value= "D:\App_Log\"/>
+      <param name= "File" value= "E:\App_Log\"/>
       <!--是否是向文件中追加日志-->
       <param name= "AppendToFile" value= "true"/>
       <!--log保留天数-->

+ 1 - 1
Starter/Starter/Program.cs

@@ -55,7 +55,7 @@ namespace ExportStart
                 //path = @"testdata\龙岗万达2020.12.10\LG-WDGC-B02-ALL.rvt";
                 //path = @"testdata\龙岗万达2020.12.10\LGWDGC-F01-ALL.rvt";
                 //path = @"testdata\龙岗万达2020.12.10\LG-WDGC-F03-ALL.rvt";
-                path = @"E:\Develop\RevitProject\RevitPro\ServiceRevit-wanda\OutputDll\testdata\龙岗万达2020.12.10\LG-WDGC-F04-ALL.rvt";
+                path = @"E:\LGWDGC-F01-ALL.rvt";
                 //path = @"testdata\龙岗万达2020.12.10\LG-WDGC-F06-ALL.rvt";
                 //path = @"testdata\龙岗万达2020.12.10\LGWDGC-Q-B01-ALL.rvt";
                 //path = @"testdata\龙岗万达2020.12.10\LGWDGC-Q-F02-ALL.rvt";