개정판 72862ad1
wcf 구축 & filter수정
Change-Id: I6eda4ba04c1bf2676896831edff71c0c8dc328da
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/FinalPDFViewModel.cs | ||
---|---|---|
810 | 810 |
_status = (int)SelectedStatus.Value; |
811 | 811 |
} |
812 | 812 |
|
813 |
if (ProjectNames.Count() == 0) |
|
814 |
{ |
|
815 |
ProjectName Clear = new ProjectName("Clear", "Clear"); |
|
816 |
ProjectNames.Add(Clear); |
|
817 |
foreach (var x in await WcfClient.GET_SELECT_RUN_PROJECTSAsync(0)) |
|
818 |
{ |
|
819 |
ProjectName projectName = new ProjectName(x.PROJECT_NO, x.PROJECT_NAME); |
|
820 |
ProjectNames.Add(projectName); |
|
821 |
} |
|
822 |
} |
|
823 |
|
|
813 | 824 |
var Listitems = from x in await WcfClient.GET_SELECT_FINAL_PDF_ITEMAsync(null, null, null, null, null, null, null, null, _status, SelectedCount.ValueMember, null, null, null, null, null, null, null, null, null, null) |
814 | 825 |
let MarkusLink = "kcom://" + CreateMarkusParam(x.ID, x.DOCUMENT_ID, "doftech") |
815 | 826 |
select new FinalPDF(x.ID, x.PROJECT_NO, x.STATUS, x.DOCUMENT_ID, x.MARKUPINFO_ID, x.DOCINFO_ID, x.DOCUMENT_NAME, x.DOCUMENT_NO, x.CREATE_USER_ID, |
... | ... | |
904 | 915 |
Finish_CreateTime = SelectedCreateTimeEnd; |
905 | 916 |
} |
906 | 917 |
|
918 |
if (ProjectNames.Count() == 0) |
|
919 |
{ |
|
920 |
foreach (var x in await WcfClient.GET_SELECT_RUN_PROJECTSAsync(0)) |
|
921 |
{ |
|
922 |
ProjectName projectName = new ProjectName(x.PROJECT_NO, x.PROJECT_NAME); |
|
923 |
ProjectNames.Add(projectName); |
|
924 |
} |
|
925 |
} |
|
926 |
|
|
907 | 927 |
var Listitems = from x in await WcfClient.GET_SELECT_FINAL_PDF_ITEMAsync(null, ProjectNumberFilter.Project_NO, DocumentIDFilter, MarkupInfo_IDFilter, DOCINFO_IDFilter, Document_NameFilter, Document_NOFilter, |
908 | 928 |
CreateUser_IDFilter, _status, SelectedCount.ValueMember, GROUP_NOFilter, REVISIONFilter, Start_CreateTime, Finish_CreateTime, null, null, null, null, Document_URLFilter, ExcptionCheck) |
909 | 929 |
let MarkusLink = "kcom://" + CreateMarkusParam(x.ID, x.DOCUMENT_ID, "doftech") |
... | ... | |
1351 | 1371 |
public void DataFilter(object obj) |
1352 | 1372 |
{ |
1353 | 1373 |
dispatcherTimer.Tick -= new EventHandler(Timer_Tick); |
1354 |
DataSearch(new[] { (StatusCodeType)(SelectedStatus.Value) }, FilterConvertSource); |
|
1374 |
dispatcherTimer.Tick += new EventHandler(SearchTimer_Tick); |
|
1375 |
//DataSearch(new[] { (StatusCodeType)(SelectedStatus.Value) }, FilterConvertSource); |
|
1355 | 1376 |
} |
1356 | 1377 |
|
1357 | 1378 |
#endregion |
내보내기 Unified diff