프로젝트

일반

사용자정보

개정판 344ac7ed

ID344ac7ed43b85ffde126d9e6fe21752cc0a1bb72
상위 b119eeaa
하위 d04e8ee9, 8c7d1ea1

alzkakdixm 이(가) 약 5년 전에 추가함

ConvertDatabase 수정

Change-Id: I0344c54e8f7776ac577c77ec6a3e37428489d87f

차이점 보기:

ConvertService/ServiceBase/IServiceBase/ConvertItem.cs
151 151

  
152 152

  
153 153
        DateTime _createtime;
154
        DateTime? _starttime;
155
        DateTime? _endtime;
154 156

  
155 157
        public event PropertyChangedEventHandler PropertyChanged;
156 158

  
......
352 354
        }
353 355

  
354 356
        [DataMember]
357
        public DateTime? StartTime
358
        {
359
            get
360
            {
361
                return _starttime;
362
            }
363
            set
364
            {
365
                if (value == null)
366
                {
367
                    _starttime = null;
368
                    OnPropertyChanged("StartTime");
369
                }
370
                else if (_starttime != value)
371
                {
372
                    _starttime = value;
373
                    OnPropertyChanged("StartTime");
374
                }
375
            }
376
        }
377

  
378
        [DataMember]
379
        public DateTime? EndTime
380
        {
381
            get
382
            {
383
                return _endtime;
384
            }
385
            set
386
            {
387
                if (value == null)
388
                {
389
                    _endtime = null;
390
                    OnPropertyChanged("EndTime");
391
                }
392
                else if (_endtime != value)
393
                {
394
                    _endtime = value;
395
                    OnPropertyChanged("EndTime");
396
                }
397
            }
398
        }
399

  
400
        [DataMember]
355 401
        public string UniqueKey
356 402
        {
357 403
            get
ConvertService/ServiceBase/Markus.Service.DataBase/ConvertDatabase.cs
93 93
                            SERVICE_ID = items.SERVICE_ID,
94 94
                            STATUS = items.STATUS,
95 95
                            CREATE_DATETIME = items.CREATE_DATETIME,
96
                            START_DATETIME = items.START_DATETIME,
97
                            END_DATETIME = items.END_DATETIME,
96 98
                            TOTAL_PAGE = items.TOTAL_PAGE,
97 99
                            CURRENT_PAGE = items.CURRENT_PAGE,
98 100
                            EXCEPTION = items.EXCEPTION,
......
101 103
                            REVISION = subpet.REVISION,
102 104
                            DOCUMENT_NO = subpet.DOCUMENT_NO,
103 105
                            DOCUMENT_NAME = subpet.DOCUMENT_NAME,
104
                            GROUP_NO = subpet.GROUP_NO
106
                            GROUP_NO = subpet.GROUP_NO,  
105 107
                            //REVISION = documents.REVISION,
106 108
                            //DOCUMENT_NO = documents.DOCUMENT_NO,
107 109
                            //DOCUMENT_NAME = documents.DOCUMENT_NAME,
......
119 121
                        ServiceID = item.SERVICE_ID,
120 122
                        ConvertState = (StatusCodeType)item.STATUS,
121 123
                        CreateTime = item.CREATE_DATETIME,
124
                        StartTime = (DateTime)item.START_DATETIME,
125
                        EndTime = (DateTime)item.END_DATETIME,
122 126
                        TotalPage = item.TOTAL_PAGE,
123 127
                        CurrentPageNo = item.CURRENT_PAGE,
124 128
                        Exception = item.EXCEPTION,
......
167 171
                                SERVICE_ID = items.SERVICE_ID,
168 172
                                STATUS = items.STATUS,
169 173
                                CREATE_DATETIME = items.CREATE_DATETIME,
174
                                START_DATETIME  = items.START_DATETIME,
175
                                END_DATETIME = items.END_DATETIME,
170 176
                                TOTAL_PAGE = items.TOTAL_PAGE,
171 177
                                CURRENT_PAGE = items.CURRENT_PAGE,
172 178
                                EXCEPTION = items.EXCEPTION,
......
190 196
                            ServiceID = item.SERVICE_ID,
191 197
                            ConvertState = (StatusCodeType)item.STATUS,
192 198
                            CreateTime = item.CREATE_DATETIME,
199
                            StartTime = item.START_DATETIME,
200
                            EndTime = item.END_DATETIME,
193 201
                            TotalPage = item.TOTAL_PAGE,
194 202
                            CurrentPageNo = item.CURRENT_PAGE,
195 203
                            Exception = item.EXCEPTION,
......
243 251
                            SERVICE_ID = items.SERVICE_ID,
244 252
                            STATUS = items.STATUS,
245 253
                            CREATE_DATETIME = items.CREATE_DATETIME,
254
                            START_DATETIME = items.START_DATETIME,
255
                            END_DATETIME = items.END_DATETIME,
246 256
                            TOTAL_PAGE = items.TOTAL_PAGE,
247 257
                            CURRENT_PAGE = items.CURRENT_PAGE,
248 258
                            EXCEPTION = items.EXCEPTION,
......
265 275
                        ServiceID = item.SERVICE_ID,
266 276
                        ConvertState = (StatusCodeType)item.STATUS,
267 277
                        CreateTime = item.CREATE_DATETIME,
278
                        StartTime = item.START_DATETIME,
279
                        EndTime = item.END_DATETIME,
268 280
                        TotalPage = item.TOTAL_PAGE,
269 281
                        CurrentPageNo = item.CURRENT_PAGE,
270 282
                        Exception = item.EXCEPTION,
ConvertService/ServiceBase/Markus.Service.StationController/Markus.Service.StationController.csproj
180 180
    <Compile Include="Views\DataBaseView.xaml.cs">
181 181
      <DependentUpon>DataBaseView.xaml</DependentUpon>
182 182
    </Compile>
183
    <Compile Include="Views\DataBaseViewInfo.xaml.cs">
184
      <DependentUpon>DataBaseViewInfo.xaml</DependentUpon>
185
    </Compile>
183 186
    <Compile Include="Views\MergeDataView.xaml.cs">
184 187
      <DependentUpon>MergeDataView.xaml</DependentUpon>
185 188
    </Compile>
......
231 234
      <Generator>MSBuild:Compile</Generator>
232 235
      <SubType>Designer</SubType>
233 236
    </Page>
237
    <Page Include="Views\DataBaseViewInfo.xaml">
238
      <SubType>Designer</SubType>
239
      <Generator>MSBuild:Compile</Generator>
240
    </Page>
234 241
    <Page Include="Views\MergeDataView.xaml">
235 242
      <SubType>Designer</SubType>
236 243
      <Generator>MSBuild:Compile</Generator>
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/DataBaseItemsModel.cs
437 437
                                itemsToEach.TotalPage = item.TotalPage;
438 438
                                itemsToEach.OriginfilePath = item.OriginfilePath;
439 439
                                itemsToEach.ConvertPath = item.ConvertPath;
440
                                itemsToEach.MarkusLink = item.MarkusLink;
441
                                itemsToEach.UniqueKey = item.UniqueKey;
442
                                itemsToEach.FileName = item.FileName;
443
                                itemsToEach.ConvertPath = item.ConvertPath;
444
                                itemsToEach.CreateTime = item.CreateTime;
445
                                itemsToEach.Exception = item.Exception;
446
                                itemsToEach.ProcessorAffinity = item.ProcessorAffinity;
447
                                itemsToEach.ReConverter = item.ReConverter;
448
                                itemsToEach.DocumentID = item.DocumentID;
449
                                itemsToEach.DocumnetName = item.DocumnetName;
450
                                itemsToEach.GroupNo = item.GroupNo;
451
                                itemsToEach.Revision = item.Revision;
452
                                itemsToEach.StartTime = item.StartTime;
453
                                itemsToEach.EndTime = item.EndTime;
454

  
440 455

  
441 456
                                itemsToList.Add(itemsToEach);
442 457
                            }
ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseView.xaml
29 29
            <Setter Property="TextAlignment" Value="Center"/>
30 30
        </Style>
31 31
        <VM:DataBaseItemsModel x:Key="DataBaseItemsModel"/>
32
        <DataTemplate x:Key="RowDetailsTemplate">
33
            <local:DataBaseViewInfo />
34
        </DataTemplate>
32 35
    </UserControl.Resources>
33 36
    <!--<UserControl.DataContext>
34 37
        <VM:DataBaseItemsModel/>
35 38
    </UserControl.DataContext>-->
36

  
37 39
    <i:Interaction.Triggers>
38 40
        <i:EventTrigger  EventName="Loaded">
39 41
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
......
42 44
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
43 45
        </i:EventTrigger>
44 46
    </i:Interaction.Triggers>
45

  
46
    <Grid HorizontalAlignment="Left">
47
    <Grid HorizontalAlignment="Left" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" >
47 48
        <Grid.RowDefinitions>
48 49
            <RowDefinition Height="Auto"/>
49
            <RowDefinition Height="*"/>
50
            <RowDefinition Height="*"/>
51
            <RowDefinition Height="*"/>
52
            <RowDefinition Height="100"/>
50
            <RowDefinition Height="Auto"/>
51
            <RowDefinition Height="Auto"/>
52
            <RowDefinition Height="Auto"/>
53 53
        </Grid.RowDefinitions>
54 54
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
55 55
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
56 56
            <telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
57 57
              DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
58
            <!--SelectedIndex 디폴트 값 ItemsSource콤보박스에 넣을 값 중 DisplayMemberPath 키와 값중 화면에 보여질거 선택 SelectedValuePath 콤보박스 아이템 선택하면 SelectedItem에 DisplayMember이 값나감-->
59
            <!--SelectedItem : object값 리턴-->
60 58
            <TextBlock Text="Status Type : " Margin="10,0,0,0"  VerticalAlignment="Center"/>
61 59
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
62 60
               DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
63 61
            <telerik:RadToggleButton Content="  엑셀 저장  " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
64 62
        </StackPanel>
65
        <GroupBox Grid.Row="1"
66
                  Header="DataBase Items"  BorderThickness="0" 
67
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto">
63
        <telerik:RadExpander Grid.Row="1" ExpandDirection="Down" Header="DataBase Items"  BorderThickness="0"  MaxHeight="700"
64
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True"
65
                             telerik:AnimationManager.IsAnimationEnabled="False">
68 66
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
69 67
							 ItemsSource="{Binding FilterConvertSource}"
70 68
                             SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}"
71
							 AutoGenerateColumns="False" CanUserFreezeColumns="False"
72
                             ColumnWidth="*"
73
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" >
69
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
70
							 AutoGenerateColumns="False" CanUserFreezeColumns="True"
71
                             ColumnWidth="*" RowDetailsVisibilityMode="VisibleWhenSelected"
72
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
73
                             LeftFrozenColumnCount="6" 
74
                             RightFrozenColumnCount="0">
74 75
                <telerik:RadContextMenu.ContextMenu>
75 76
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
76 77
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
......
78 79
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
79 80
                    </telerik:RadContextMenu>
80 81
                </telerik:RadContextMenu.ContextMenu>
81

  
82 82
                <telerik:RadGridView.Columns>
83 83
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
84 84
                    <telerik:GridViewDataColumn Header="Convert ID "
......
94 94
                    </telerik:GridViewDataColumn>
95 95
                    <telerik:GridViewDataColumn Header="ProjectNO" 
96 96
											DataMemberBinding="{Binding ProjectNumber}" MinWidth="50" />
97

  
97
                    <telerik:GridViewDataColumn Header="UniqueKey"
98
											DataMemberBinding="{Binding UniqueKey}" MinWidth="60" />
98 99
                    <telerik:GridViewDataColumn Header="ConvertState"
99 100
											DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" MinWidth="60" />
100

  
101 101
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
102 102
											DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" MinWidth="80" />
103
                    <telerik:GridViewDataColumn Header="TotalPage"
103
                    <telerik:GridViewDataColumn Header="TotalPageNo"
104 104
											DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" MinWidth="60"  />
105
                    <!--<telerik:GridViewDataColumn Header=" OriginfilePath"
106
											DataMemberBinding="{Binding  OriginfilePath}" MinWidth="170"/>-->
107 105
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
108 106
                                                        NavigateUrlFormatString=" {0}"
109 107
													    NavigateUrlMemberPaths="OriginfilePath"
......
114 112
                            </DataTemplate>
115 113
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
116 114
                    </telerik:GridViewDynamicHyperlinkColumn>
117

  
118 115
                    <telerik:GridViewDataColumn Header=" ConvertPath"
119 116
											DataMemberBinding="{Binding ConvertPath}" MinWidth="70" />
120 117
                    <telerik:GridViewDataColumn Header="CreateTime" 
121 118
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
122
                    <telerik:GridViewDataColumn Header="Exception"
123
											DataMemberBinding="{Binding Exception}"/>
124
                    <telerik:GridViewDataColumn Header="ProcessorAffinity"
125
											DataMemberBinding="{Binding ProcessorAffinity}" MinWidth="90" />
126
                    <telerik:GridViewDataColumn Header="ReConverter"
127
											DataMemberBinding="{Binding ReConverter, Mode=TwoWay}" MinWidth="70" />
128
                    <telerik:GridViewDataColumn Header="UniqueKey"
129
											DataMemberBinding="{Binding UniqueKey}" MinWidth="60" />
130

  
131
                    <telerik:GridViewDataColumn Header="REVISION"
132
											DataMemberBinding="{Binding Revision}"/>
133
                    <telerik:GridViewDataColumn Header="DOCUMENT_NO"
134
											DataMemberBinding="{Binding DocumnetNo}"/>
135
                    <telerik:GridViewDataColumn Header="DOCUMENT_NAME"
136
											DataMemberBinding="{Binding DocumnetName}"/>
137
                    <telerik:GridViewDataColumn Header="GROUP_NO"
138
											DataMemberBinding="{Binding GroupNo}"/>
139
                    <telerik:GridViewDataColumn Header="Validation"
140
											DataMemberBinding="{Binding Validation}"/>
141
                    <telerik:GridViewDataColumn Header="Service ID"
142
											DataMemberBinding="{Binding ServiceID}"  MinWidth="250" />
119
                    <telerik:GridViewDataColumn Header="StartTime" 
120
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
121
                    <telerik:GridViewDataColumn Header="EndTime" 
122
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
143 123
                </telerik:RadGridView.Columns>
144 124
            </telerik:RadGridView>
145
        </GroupBox>
146

  
147
        <GroupBox Grid.Row="2"
148
                  Header="Status 4 under Items"  BorderThickness="0" 
149
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto">
125
        </telerik:RadExpander>
126
        <telerik:RadExpander Grid.Row="2" ExpandDirection="Down"  Header="Status 4 under Items"  BorderThickness="0" 
127
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
128
                             telerik:AnimationManager.IsAnimationEnabled="False">
150 129
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
151 130
							 ItemsSource="{Binding RealConvertSource}"
152 131
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
132
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
153 133
							 AutoGenerateColumns="False" CanUserFreezeColumns="False"
154
                             ColumnWidth="*" 
134
                             ColumnWidth="*"  RowDetailsVisibilityMode="VisibleWhenSelected"
155 135
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
156 136
                <telerik:RadContextMenu.ContextMenu>
157 137
                    <telerik:RadContextMenu>
......
169 149
                    <telerik:GridViewDataColumn Header="MarkusLink " MinWidth="100" CellStyle="{StaticResource StretchCellStyle}">
170 150
                        <telerik:GridViewDataColumn.CellTemplate>
171 151
                            <DataTemplate>
172
                                <!--<telerik:RadButton Content="Click " Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding ElementName=dataGrid2, Path=SelectedItems}"/>-->
173 152
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
174 153
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
175 154
                            </DataTemplate>
......
178 157

  
179 158
                    <telerik:GridViewDataColumn Header="ProjectNO" 
180 159
											DataMemberBinding="{Binding ProjectNumber}" MinWidth="50" />
181

  
160
                    <telerik:GridViewDataColumn Header="UniqueKey"
161
											DataMemberBinding="{Binding UniqueKey}" MinWidth="60" />
182 162
                    <telerik:GridViewDataColumn Header="ConvertState"
183 163
											DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" MinWidth="60" />
184 164

  
185 165
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
186 166
											DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" MinWidth="80" />
187
                    <telerik:GridViewDataColumn Header="TotalPage"
167
                    <telerik:GridViewDataColumn Header="TotalPageNo"
188 168
											DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" MinWidth="60" />
189
                    <!--<telerik:GridViewDataColumn Header=" OriginfilePath"
190
											DataMemberBinding="{Binding  OriginfilePath}" MinWidth="170"/>-->
191 169
                    <telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일"
192 170
                                                        NavigateUrlFormatString="{}{0}"
193 171
													    NavigateUrlMemberPaths="OriginfilePath"
......
202 180
											DataMemberBinding="{Binding ConvertPath}" MinWidth="70" />
203 181
                    <telerik:GridViewDataColumn Header="CreateTime"
204 182
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
205
                    <telerik:GridViewDataColumn Header="Exception"
206
											DataMemberBinding="{Binding Exception}"/>
207
                    <telerik:GridViewDataColumn Header="ProcessorAffinity"
208
											DataMemberBinding="{Binding ProcessorAffinity}" MinWidth="90" />
209
                    <telerik:GridViewDataColumn Header="ReConverter"
210
											DataMemberBinding="{Binding ReConverter, Mode=TwoWay}" MinWidth="70" />
211
                    <telerik:GridViewDataColumn Header="UniqueKey"
212
											DataMemberBinding="{Binding UniqueKey}" MinWidth="60" />
213

  
214
                    <telerik:GridViewDataColumn Header="REVISION"
215
											DataMemberBinding="{Binding Revision}"/>
216
                    <telerik:GridViewDataColumn Header="DOCUMENT_NO"
217
											DataMemberBinding="{Binding DocumnetNo}"/>
218
                    <telerik:GridViewDataColumn Header="DOCUMENT_NAME"
219
											DataMemberBinding="{Binding DocumnetName}"/>
220
                    <telerik:GridViewDataColumn Header="GROUP_NO"
221
											DataMemberBinding="{Binding GroupNo}"/>
222
                    <telerik:GridViewDataColumn Header="Validation"
223
											DataMemberBinding="{Binding Validation}"/>
224
                    <telerik:GridViewDataColumn Header="Service ID"
225
											DataMemberBinding="{Binding ServiceID}"  MinWidth="250"/>
183
                    <telerik:GridViewDataColumn Header="StartTime"
184
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
185
                    <telerik:GridViewDataColumn Header="EndTime"
186
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
226 187
                </telerik:RadGridView.Columns>
227 188
            </telerik:RadGridView>
228
        </GroupBox>
229
        <GroupBox Grid.Row="3"
230
                  Header="Alive Items" Margin="3" BorderThickness="0" 
231
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" >
189
        </telerik:RadExpander>
190
        <telerik:RadExpander Grid.Row="3" ExpandDirection="Down" Header="Alive Items" Margin="3" BorderThickness="0" 
191
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
192
                             telerik:AnimationManager.IsAnimationEnabled="False">
232 193
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
233
							 ItemsSource="{Binding AliveItems}" 
234
							 AutoGenerateColumns="False" CanUserFreezeColumns="False"
194
							 ItemsSource="{Binding AliveItems}" RowDetailsVisibilityMode="VisibleWhenSelected"
195
							 AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
235 196
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
236
                <!--<telerik:RadGridView ItemsSource="{Binding Source={StaticResource AliveViewModel}}" AutoGenerateColumns="False" 
237
                  x:Name="DataGrid" ScrollViewer.CanContentScroll="False">  DataContext="{Binding Mode=OneWay}"-->
238 197
                <telerik:RadGridView.Columns>
239 198
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
240
                    <telerik:GridViewDataColumn  Header="Convert ID" DataMemberBinding="{Binding ConvertID}" />
241
                    <telerik:GridViewDataColumn  Header="Project No" DataMemberBinding="{Binding ProjectNumber}"/>
242
                    <telerik:GridViewDataColumn  Header="Status" DataMemberBinding="{Binding ConvertState}"/>
243
                    <telerik:GridViewDataColumn  Header="Current Page" DataMemberBinding="{Binding CurrentPageNo}"/>
244
                    <telerik:GridViewDataColumn  Header="TotalPage" DataMemberBinding="{Binding TotalPage}"/>
245
                    <telerik:GridViewDataColumn  Header="Originfile" DataMemberBinding="{Binding OriginfilePath}"/>
246
                    <telerik:GridViewDataColumn  Header="Output Path" DataMemberBinding="{Binding ConvertPath}"/>
247
                    <telerik:GridViewDataColumn  Header="Service ID" DataMemberBinding="{Binding ServiceID}"/>
248
                </telerik:RadGridView.Columns>
249
            </telerik:RadGridView>
250
        </GroupBox>
251 199

  
200
                    <telerik:GridViewDataColumn Header="Convert ID "
201
											DataMemberBinding="{Binding ConvertID}" MinWidth="180"  />
252 202

  
253
        <Grid  Grid.Row="4">
254
            <RichTextBox IsReadOnly="True" AllowDrop="False" VerticalScrollBarVisibility="Visible"
203
                    <telerik:GridViewDataColumn Header="MarkusLink " MinWidth="100" CellStyle="{StaticResource StretchCellStyle}">
204
                        <telerik:GridViewDataColumn.CellTemplate>
205
                            <DataTemplate>
206
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
207
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
208
                            </DataTemplate>
209
                        </telerik:GridViewDataColumn.CellTemplate>
210
                    </telerik:GridViewDataColumn>
211

  
212
                    <telerik:GridViewDataColumn Header="ProjectNO" 
213
											DataMemberBinding="{Binding ProjectNumber}" MinWidth="50" />
214
                    <telerik:GridViewDataColumn Header="UniqueKey"
215
											DataMemberBinding="{Binding UniqueKey}" MinWidth="60" />
216
                    <telerik:GridViewDataColumn Header="ConvertState"
217
											DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" MinWidth="60" />
218

  
219
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
220
											DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" MinWidth="80" />
221
                    <telerik:GridViewDataColumn Header="TotalPageNo"
222
											DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" MinWidth="60" />
223
                    <telerik:GridViewDynamicHyperlinkColumn  Header="원본파일"
224
                                                        NavigateUrlFormatString="{}{0}"
225
													    NavigateUrlMemberPaths="OriginfilePath"
226
														Width="150">
227
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
228
                            <DataTemplate>
229
                                <TextBlock Text="{Binding FileName}"/>
230
                            </DataTemplate>
231
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
232
                    </telerik:GridViewDynamicHyperlinkColumn>
233
                    <telerik:GridViewDataColumn Header=" ConvertPath"
234
											DataMemberBinding="{Binding ConvertPath}" MinWidth="70" />
235
                    <telerik:GridViewDataColumn Header="CreateTime"
236
											DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
237
                    <telerik:GridViewDataColumn Header="StartTime"
238
											DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
239
                    <telerik:GridViewDataColumn Header="EndTime"
240
											DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" MinWidth="120" />
241
                </telerik:RadGridView.Columns>
242
            </telerik:RadGridView>
243
            <!--<Grid  Grid.Row="4">
244
                    <RichTextBox IsReadOnly="True" AllowDrop="False" VerticalScrollBarVisibility="Visible"
255 245
                         IsUndoEnabled="False" HorizontalScrollBarVisibility="Auto"
256 246
                         Height="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"
257 247
                         Width="{Binding ActualWidth, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}">
258
                <controls:TraceDocument PageWidth="{Binding ActualWidth, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"
248
                        <controls:TraceDocument PageWidth="{Binding ActualWidth, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"
259 249
                                        PageHeight="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"/>
260
            </RichTextBox>
261
        </Grid>
262
        <!-- <local:DataBaseView HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="100"/>
263
        <local:DataBaseView HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="100"/>-->
250
                    </RichTextBox>
251
                </Grid>-->
252
        </telerik:RadExpander>
264 253
    </Grid>
265 254
</UserControl>
ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseViewInfo.xaml
1
<UserControl x:Class="Markus.Service.StationController.Views.DataBaseViewInfo"
2
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
6
      xmlns:local="clr-namespace:Markus.Service.StationController.Views"
7
      mc:Ignorable="d" 
8
      d:DesignHeight="450" d:DesignWidth="800">
9
    <Grid Width="Auto"
10
		  HorizontalAlignment="Stretch">
11
        <Grid.Resources>
12
            <Style TargetType="TextBox">
13
                <Setter Property="Foreground" Value="Black"/>
14
                <Setter Property="Margin" Value="5,0,0,0"/>
15
                <Setter Property="IsReadOnly" Value="True"/>
16
                <Setter Property="HorizontalAlignment" Value="Left"/>
17
                <Setter Property="VerticalAlignment" Value="Center"/>
18
            </Style>
19
            <Style TargetType="TextBlock">
20
                <Setter Property="FontWeight" Value="Bold"/>
21
                <Setter Property="Margin" Value="5,0,0,0"/>
22
                <Setter Property="HorizontalAlignment" Value="Left"/>
23
                <Setter Property="VerticalAlignment" Value="Center"/>
24
            </Style>
25
        </Grid.Resources>
26
        <Grid.RowDefinitions>
27
            <RowDefinition Height="20" />
28
            <RowDefinition Height="20" />
29
            <RowDefinition Height="20" />
30
            <RowDefinition Height="20" />
31
            <RowDefinition Height="20" />
32
            <RowDefinition Height="20" />
33
        </Grid.RowDefinitions>
34
        <Grid.ColumnDefinitions>
35
            <ColumnDefinition Width="Auto" />
36
            <ColumnDefinition Width="Auto" />
37
            <ColumnDefinition Width="150" />
38
            <ColumnDefinition Width="10" />
39
            <ColumnDefinition Width="Auto" />
40
            <ColumnDefinition Width="*" />
41
        </Grid.ColumnDefinitions>
42
        <TextBlock Text="GROUP_NO: "
43
				   Grid.Row="1"
44
				   Grid.Column="1"/>
45
        <TextBox Text="{Binding GroupNo}"
46
				   Grid.Row="1"
47
				   Grid.Column="2" />
48
        <TextBlock Text="ProcessorAffinity: "
49
				   Grid.Row="2"
50
				   Grid.Column="1" />
51
        <TextBox Text="{Binding ProcessorAffinity}"
52
				   Grid.Row="2" 
53
				   Grid.Column="2" />
54
        <TextBlock Text="ReConverter: "
55
				   Grid.Row="3"
56
				   Grid.Column="1"/>
57
        <TextBox Text="{Binding ReConverter}"
58
				   Grid.Row="3" 
59
				   Grid.Column="2"/>
60
        <TextBlock Text="REVISION: "
61
				   Grid.Row="4"
62
				   Grid.Column="1"/>
63
        <TextBox Text="{Binding Revision}"
64
				   Grid.Row="4" 
65
				   Grid.Column="2"/>
66
        <Border Grid.Column="3"
67
				Grid.Row="0"
68
				Grid.RowSpan="6"
69
				Width="1"
70
				VerticalAlignment="Stretch"
71
				HorizontalAlignment="Left"
72
				Margin="0,10" />
73
        <TextBlock Text="DOCUMENT_NO: "
74
				   Grid.Row="1"
75
				   Grid.Column="4" />
76
        <TextBox Text="{Binding DocumnetNo}"
77
				   Grid.Row="1" 
78
				   Grid.Column="5" />
79
        <TextBlock Text="DOCUMENT_NAME: "
80
				   Grid.Row="2"
81
				   Grid.Column="4" />
82
        <TextBox Text="{Binding DocumnetName}"
83
				   Grid.Row="2" 
84
				   Grid.Column="5"/>
85
        <TextBlock Text="Exception: "
86
				   Grid.Row="3"
87
				   Grid.Column="4"/>
88
        <TextBox Text="{Binding Exception}"
89
				   Grid.Row="3" 
90
				   Grid.Column="5" />
91
        <TextBlock Text="Service ID: "
92
				   Grid.Row="4"
93
				   Grid.Column="4"/>
94
        <TextBox Text="{Binding ServiceID}"
95
				   Grid.Row="4" 
96
				   Grid.Column="5" />
97
    </Grid>
98
</UserControl>
ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseViewInfo.xaml.cs
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6
using System.Windows;
7
using System.Windows.Controls;
8
using System.Windows.Data;
9
using System.Windows.Documents;
10
using System.Windows.Input;
11
using System.Windows.Media;
12
using System.Windows.Media.Imaging;
13
using System.Windows.Navigation;
14
using System.Windows.Shapes;
15

  
16
namespace Markus.Service.StationController.Views
17
{
18
    /// <summary>
19
    /// DataBaseViewInfo.xaml에 대한 상호 작용 논리
20
    /// </summary>
21
    public partial class DataBaseViewInfo : UserControl
22
    {
23
        public DataBaseViewInfo()
24
        {
25
            InitializeComponent();
26
        }
27
    }
28
}
ConvertService/ServiceBase/Markus.Service.WcfClient/Connected Services/StationServiceTask/Reference.cs
206 206
        
207 207
        [System.Runtime.Serialization.OptionalFieldAttribute()]
208 208
        private System.DateTime CreateTimeField;
209
        
209

  
210
        [System.Runtime.Serialization.OptionalFieldAttribute()]
211
        private System.DateTime StartTimeField;
212

  
213
        [System.Runtime.Serialization.OptionalFieldAttribute()]
214
        private System.DateTime EndTimeField;
215

  
210 216
        [System.Runtime.Serialization.OptionalFieldAttribute()]
211 217
        private int CurrentPageNoField;
212 218
        
......
233 239
        
234 240
        [System.Runtime.Serialization.OptionalFieldAttribute()]
235 241
        private string UniqueKeyField;
236
        
242

  
243
        [System.Runtime.Serialization.OptionalFieldAttribute()]
244
        private string MarkusLinkField;
245

  
246
        [System.Runtime.Serialization.OptionalFieldAttribute()]
247
        private string FileNameField;
248

  
249
        [System.Runtime.Serialization.OptionalFieldAttribute()]
250
        private string DocumentIDField;
251

  
252
        [System.Runtime.Serialization.OptionalFieldAttribute()]
253
        private string DocumentNameField;
254

  
255
        [System.Runtime.Serialization.OptionalFieldAttribute()]
256
        private string GroupNoField;
257

  
258
        [System.Runtime.Serialization.OptionalFieldAttribute()]
259
        private string RevisionField;
260

  
237 261
        [global::System.ComponentModel.BrowsableAttribute(false)]
238 262
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
239 263
            get {
......
295 319
                }
296 320
            }
297 321
        }
298
        
322

  
323
        [System.Runtime.Serialization.DataMemberAttribute()]
324
        public System.DateTime StartTime
325
        {
326
            get
327
            {
328
                return this.StartTimeField;
329
            }
330
            set
331
            {
332
                if ((this.StartTimeField.Equals(value) != true))
333
                {
334
                    this.StartTimeField = value;
335
                    this.RaisePropertyChanged("StartTime");
336
                }
337
            }
338
        }
339

  
340
        [System.Runtime.Serialization.DataMemberAttribute()]
341
        public System.DateTime EndTime
342
        {
343
            get
344
            {
345
                return this.EndTimeField;
346
            }
347
            set
348
            {
349
                if ((this.EndTimeField.Equals(value) != true))
350
                {
351
                    this.EndTimeField = value;
352
                    this.RaisePropertyChanged("EndTime");
353
                }
354
            }
355
        }
356

  
299 357
        [System.Runtime.Serialization.DataMemberAttribute()]
300 358
        public int CurrentPageNo {
301 359
            get {
......
412 470
                }
413 471
            }
414 472
        }
415
        
473

  
474
        [System.Runtime.Serialization.DataMemberAttribute()]
475
        public string MarkusLink
476
        {
477
            get
478
            {
479
                return this.MarkusLinkField;
480
            }
481
            set
482
            {
483
                if ((object.ReferenceEquals(this.MarkusLinkField, value) != true))
484
                {
485
                    this.MarkusLinkField = value;
486
                    this.RaisePropertyChanged("MarkusLink");
487
                }
488
            }
489
        }
490

  
491
        [System.Runtime.Serialization.DataMemberAttribute()]
492
        public string FileName
493
        {
494
            get
495
            {
496
                return this.FileNameField;
497
            }
498
            set
499
            {
500
                if ((object.ReferenceEquals(this.FileNameField, value) != true))
501
                {
502
                    this.FileNameField = value;
503
                    this.RaisePropertyChanged("FileName");
504
                }
505
            }
506
        }
507

  
508
        [System.Runtime.Serialization.DataMemberAttribute()]
509
        public string DocumentID
510
        {
511
            get
512
            {
513
                return this.DocumentIDField;
514
            }
515
            set
516
            {
517
                if ((object.ReferenceEquals(this.DocumentIDField, value) != true))
518
                {
519
                    this.DocumentIDField = value;
520
                    this.RaisePropertyChanged("DocumentID");
521
                }
522
            }
523
        }
524

  
525
        [System.Runtime.Serialization.DataMemberAttribute()]
526
        public string DocumnetName
527
        {
528
            get
529
            {
530
                return this.DocumentNameField;
531
            }
532
            set
533
            {
534
                if ((object.ReferenceEquals(this.DocumentNameField, value) != true))
535
                {
536
                    this.DocumentNameField = value;
537
                    this.RaisePropertyChanged("DocumnetName");
538
                }
539
            }
540
        }
541

  
542
        [System.Runtime.Serialization.DataMemberAttribute()]
543
        public string GroupNo
544
        {
545
            get
546
            {
547
                return this.GroupNoField;
548
            }
549
            set
550
            {
551
                if ((object.ReferenceEquals(this.GroupNoField, value) != true))
552
                {
553
                    this.GroupNoField = value;
554
                    this.RaisePropertyChanged("GroupNo");
555
                }
556
            }
557
        }
558

  
559
        [System.Runtime.Serialization.DataMemberAttribute()]
560
        public string Revision
561
        {
562
            get
563
            {
564
                return this.RevisionField;
565
            }
566
            set
567
            {
568
                if ((object.ReferenceEquals(this.RevisionField, value) != true))
569
                {
570
                    this.RevisionField = value;
571
                    this.RaisePropertyChanged("Revision");
572
                }
573
            }
574
        }
575

  
416 576
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
417 577
        
418 578
        protected void RaisePropertyChanged(string propertyName) {

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)