개정판 60723dc9
convert 오류 수정
Change-Id: Idcebecb02f64515cc20b61054669368e2f677013
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/AliveViewModel.cs | ||
---|---|---|
8 | 8 |
using Markus.Service.Extensions; |
9 | 9 |
using Markus.Service.Helper; |
10 | 10 |
using Markus.Service.StationController.Extensions; |
11 |
using System.Web; |
|
11 | 12 |
|
12 | 13 |
namespace Markus.Service.StationController.ViewModel |
13 | 14 |
{ |
... | ... | |
58 | 59 |
{ |
59 | 60 |
while (IsAcitve) |
60 | 61 |
{ |
61 |
System.Threading.Thread.Sleep(1000);
|
|
62 |
System.Threading.Thread.Sleep(5000);
|
|
62 | 63 |
|
63 | 64 |
try |
64 | 65 |
{ |
... | ... | |
68 | 69 |
|
69 | 70 |
foreach (var client in App.StationClientList) |
70 | 71 |
{ |
71 |
if (SimplePing(client.Endpoint.Address.ToString())) |
|
72 |
//if (SimplePing(client.Endpoint.Address.ToString())) |
|
73 |
//{ |
|
74 |
try |
|
72 | 75 |
{ |
73 | 76 |
var items = await client.AliveConvertListAsync(); |
74 | 77 |
newitems.AddRange(items); |
75 | 78 |
} |
79 |
catch (Exception ex) |
|
80 |
{ |
|
81 |
System.Diagnostics.Debug.WriteLine(ex.ToString()); |
|
82 |
} |
|
83 |
|
|
84 |
//} |
|
85 |
} |
|
86 |
|
|
87 |
foreach (var item in newitems) |
|
88 |
{ |
|
89 |
item.OriginfilePath = HttpUtility.UrlDecode(item.OriginfilePath); |
|
76 | 90 |
} |
77 | 91 |
|
78 | 92 |
if (AliveItems == null) |
내보내기 Unified diff