개정판 c7955b40
search 후 Convert 수정
Change-Id: I3c9e136d7fe702e379ec5dfc7b016bb0d3a34745
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/DataBaseItemsModel.cs | ||
---|---|---|
563 | 563 |
dispatcherTimer.Start(); |
564 | 564 |
} |
565 | 565 | |
566 |
private async void SearchTimer_Tick(object sender, EventArgs e) |
|
567 |
{ |
|
568 |
dispatcherTimer.Stop(); |
|
569 | ||
570 |
if (IsAcitve) |
|
571 |
{ |
|
572 |
await App.Current.Dispatcher.InvokeAsync(() => |
|
573 |
{ |
|
574 |
DataSearch(new[] { (StatusCodeType)(SelectedStatus.Value) }, FilterConvertSource); |
|
575 | ||
576 |
RealDataSelect(new[] { StatusCodeType.None, StatusCodeType.Wait, StatusCodeType.PageLoading, StatusCodeType.Saving }, RealConvertSource); |
|
577 | ||
578 |
AliveDataSelect(); |
|
579 |
}); |
|
580 |
} |
|
581 | ||
582 |
//await Task.Delay(5000); |
|
583 |
await Task.Delay(10000); |
|
584 | ||
585 |
//System.Threading.Thread.Sleep(new TimeSpan(0,0,0,0,100)); |
|
586 | ||
587 |
dispatcherTimer.Start(); |
|
588 |
} |
|
589 | ||
566 | 590 |
public override void Closed() |
567 | 591 |
{ |
568 | 592 |
if (dispatcherTimer != null) |
... | ... | |
1197 | 1221 |
public void DataFilter(object obj) |
1198 | 1222 |
{ |
1199 | 1223 |
dispatcherTimer.Tick -= new EventHandler(Timer_Tick); |
1200 |
DataSearch(new[] { (StatusCodeType)(SelectedStatus.Value) }, FilterConvertSource);
|
|
1224 |
dispatcherTimer.Tick += new EventHandler(SearchTimer_Tick);
|
|
1201 | 1225 |
} |
1202 | 1226 | |
1203 | 1227 |
#endregion |
... | ... | |
1352 | 1376 |
DefaultCreateTime = DateTime.Now; |
1353 | 1377 |
SelectedCreateTimeBegin = DefaultCreateTime; |
1354 | 1378 |
SelectedCreateTimeEnd = DefaultCreateTime; |
1379 |
dispatcherTimer.Tick -= new EventHandler(SearchTimer_Tick); |
|
1355 | 1380 |
dispatcherTimer.Tick += new EventHandler(Timer_Tick); |
1356 | 1381 |
} |
1357 | 1382 | |
... | ... | |
1396 | 1421 | |
1397 | 1422 |
string filePath = "@" + convertitem.ConvertPath; |
1398 | 1423 | |
1399 |
System.Diagnostics.Process.Start(filePath); |
|
1424 |
System.Diagnostics.Process.Start("explorer.exe", filePath);
|
|
1400 | 1425 |
} |
1401 | 1426 |
} |
1402 | 1427 |
} |
내보내기 Unified diff