개정판 d6526b0c
Document Items 테스트
Change-Id: Ia0c76b9042cfe630265c8c4ca2428328ea9e51be
ConvertService/ServiceBase/Markus.Service.StationController/Data/Document_Item.cs | ||
---|---|---|
24 | 24 |
|
25 | 25 |
} |
26 | 26 |
|
27 |
public Document_Item(string group_NO, string document_NO, string document_ID, string documentID)
|
|
27 |
public Document_Item(string group_NO, string document_NO, string document_ID, string document_URL, string revision)
|
|
28 | 28 |
{ |
29 | 29 |
Document_NO = document_NO; |
30 | 30 |
Group_NO = group_NO; |
31 | 31 |
Document_ID = document_ID; |
32 |
DocumentID = documentID;
|
|
33 |
|
|
32 |
DocumentURL = document_URL;
|
|
33 |
Revision = revision; |
|
34 | 34 |
} |
35 | 35 |
|
36 | 36 |
private string _Document_NO; |
... | ... | |
84 | 84 |
} |
85 | 85 |
} |
86 | 86 |
|
87 |
private string _DocumentID; |
|
88 |
public string DocumentID |
|
87 |
private string _DocumentURL; |
|
88 |
public string DocumentURL |
|
89 |
{ |
|
90 |
get |
|
91 |
{ |
|
92 |
return _DocumentURL; |
|
93 |
} |
|
94 |
set |
|
95 |
{ |
|
96 |
if (_DocumentURL != value) |
|
97 |
{ |
|
98 |
_DocumentURL = value; |
|
99 |
OnPropertyChanged("DocumentURL"); |
|
100 |
} |
|
101 |
} |
|
102 |
} |
|
103 |
|
|
104 |
private string _Revision; |
|
105 |
public string Revision |
|
89 | 106 |
{ |
90 | 107 |
get |
91 | 108 |
{ |
92 |
return _DocumentID;
|
|
109 |
return _Revision;
|
|
93 | 110 |
} |
94 | 111 |
set |
95 | 112 |
{ |
96 |
if (_DocumentID != value)
|
|
113 |
if (_Revision != value)
|
|
97 | 114 |
{ |
98 |
_DocumentID = value;
|
|
99 |
OnPropertyChanged("DocumentID");
|
|
115 |
_Revision = value;
|
|
116 |
OnPropertyChanged("Revision");
|
|
100 | 117 |
} |
101 | 118 |
} |
102 | 119 |
} |
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/ConvertDocumentDialogViewModel.cs | ||
---|---|---|
194 | 194 |
|
195 | 195 |
var Listitems = from num in await WcfClient.GET_DOCUMENT_ITEMAsync(Count, RevisionFilter, Docuemnt_NOFilter, Document_NameFilter, GroupNOFilter, DOCUMENT_URLFilter, |
196 | 196 |
UniqueKeyFilter, ProjectNumberFilter) |
197 |
select new Document_Item(num.GROUP_N0, num.DOCUMENT_N0, num.DOCUMENT_ID, num.DOCUMENTID);
|
|
197 |
select new Document_Item(num.GROUP_N0, num.DOCUMENT_N0, num.DOCUMENT_ID, num.ORIGINAL_FILE, num.REVISION);
|
|
198 | 198 |
|
199 | 199 |
if (Document_Items.Count() == 0) |
200 | 200 |
{ |
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/DataBaseItemsModel.cs | ||
---|---|---|
1616 | 1616 |
SelectedCreateTimeEnd = DefaultCreateTime; |
1617 | 1617 |
dispatcherTimer.Tick -= new EventHandler(SearchTimer_Tick); |
1618 | 1618 |
dispatcherTimer.Tick += new EventHandler(Timer_Tick); |
1619 |
|
|
1620 |
FilterConvertSource.Clear(); |
|
1621 |
|
|
1622 |
Timer_Tick(null, new EventArgs()); |
|
1619 | 1623 |
} |
1620 | 1624 |
|
1621 | 1625 |
#endregion |
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/FinalPDFViewModel.cs | ||
---|---|---|
1701 | 1701 |
dispatcherTimer.Tick -= new EventHandler(SearchTimer_Tick); |
1702 | 1702 |
dispatcherTimer.Tick += new EventHandler(Timer_Tick); |
1703 | 1703 |
|
1704 |
FilterConvertSource.Clear(); |
|
1705 |
|
|
1706 |
Timer_Tick(null, new EventArgs()); |
|
1707 |
|
|
1704 | 1708 |
} |
1705 | 1709 |
|
1706 | 1710 |
#endregion |
ConvertService/ServiceBase/Markus.Service.StationController/Views/ConvertDocumentDialog.xaml | ||
---|---|---|
26 | 26 |
<Grid> |
27 | 27 |
<telerik:RadGridView |
28 | 28 |
ItemsSource="{Binding Document_Items}" |
29 |
RowHeight="50" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
|
29 |
RowHeight="30" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
|
30 | 30 |
SelectionMode="Extended" IsFilteringAllowed="True" |
31 | 31 |
RowIndicatorVisibility="Collapsed" ScrollViewer.CanContentScroll="True" |
32 | 32 |
CanUserFreezeColumns="False" |
... | ... | |
47 | 47 |
<telerik:GridViewDataColumn Header="DocumentID" |
48 | 48 |
DataMemberBinding="{Binding Document_ID, Mode=TwoWay}" Width="*" /> |
49 | 49 |
<telerik:GridViewDataColumn Header="DocumnetURL" |
50 |
DataMemberBinding="{Binding DocumnetURL, Mode=TwoWay}" Width="*" />
|
|
50 |
DataMemberBinding="{Binding DocumentURL, Mode=TwoWay}" Width="*" />
|
|
51 | 51 |
<telerik:GridViewDataColumn Header="Revision" |
52 | 52 |
DataMemberBinding="{Binding Revision, Mode=TwoWay}" Width="*" /> |
53 | 53 |
</telerik:RadGridView.Columns> |
ConvertService/ServiceBase/StationControllerService/SELECT_DOCUMENT_ITEM_Result.cs | ||
---|---|---|
16 | 16 |
public string GROUP_N0 { get; set; } |
17 | 17 |
public string DOCUMENT_N0 { get; set; } |
18 | 18 |
public string DOCUMENT_ID { get; set; } |
19 |
public string ORIGINAL_FILE { get; set; } |
|
20 |
public string REVISION { get; set; } |
|
19 | 21 |
public string DOCUMENTID { get; set; } |
20 | 22 |
} |
21 | 23 |
} |
내보내기 Unified diff