개정판 9b2f01e1
MarkusLink 수정 & IIS 수정
Change-Id: Ib83ca82979f2b6f4ca036f2b942b52c3594003b2
ConvertService/ServiceBase/Markus.Service.StationController/ViewModel/FinalPDFViewModel.cs | ||
---|---|---|
242 | 242 |
} |
243 | 243 |
} |
244 | 244 |
|
245 |
|
|
246 |
|
|
247 |
private ObservableCollection<FinalPDF> _SelectFilterConvertList; |
|
248 |
public ObservableCollection<FinalPDF> SelectFilterConvertList |
|
249 |
{ |
|
250 |
get |
|
251 |
{ |
|
252 |
if (_SelectFilterConvertList == null) |
|
253 |
{ |
|
254 |
_SelectFilterConvertList = new ObservableCollection<FinalPDF>(); |
|
255 |
} |
|
256 |
return _SelectFilterConvertList; |
|
257 |
} |
|
258 |
set |
|
259 |
{ |
|
260 |
_SelectFilterConvertList = value; |
|
261 |
OnPropertyChanged(() => SelectFilterConvertList); |
|
262 |
} |
|
263 |
} |
|
264 |
|
|
245 | 265 |
private FinalPDF _SelectRealConvert; |
246 | 266 |
public FinalPDF SelectRealConvert |
247 | 267 |
{ |
... | ... | |
1387 | 1407 |
{ |
1388 | 1408 |
var convertitem = obj as FinalPDF; |
1389 | 1409 |
|
1390 |
SelectFilterConvert = convertitem; |
|
1410 |
//SelectFilterConvert = convertitem; |
|
1411 |
SelectFilterConvertList.Add(convertitem); |
|
1391 | 1412 |
|
1392 | 1413 |
SelectRealConvert = convertitem; |
1393 | 1414 |
|
... | ... | |
1414 | 1435 |
var result = e.DialogResult; |
1415 | 1436 |
if (result == true) |
1416 | 1437 |
{ |
1417 |
if (SelectRealConvert != null)
|
|
1438 |
if (SelectFilterConvertList.Count() > 1)
|
|
1418 | 1439 |
{ |
1419 |
await WcfClient.GET_SELECT_CONVERT_DELETEAsync(SelectRealConvert.ConvertID);
|
|
1440 |
MessageBox.Show("하나만 클릭해 주세요!");
|
|
1420 | 1441 |
} |
1421 |
if (SelectFilterConvert != null)
|
|
1442 |
else
|
|
1422 | 1443 |
{ |
1423 |
await WcfClient.GET_SELECT_CONVERT_DELETEAsync(SelectFilterConvert.ConvertID); |
|
1444 |
if (SelectRealConvert != null) |
|
1445 |
{ |
|
1446 |
await WcfClient.GET_SELECT_CONVERT_DELETEAsync(SelectRealConvert.ConvertID); |
|
1447 |
} |
|
1448 |
if (SelectFilterConvertList != null) |
|
1449 |
{ |
|
1450 |
await WcfClient.GET_SELECT_CONVERT_DELETEAsync(SelectFilterConvertList[0].ConvertID); |
|
1451 |
} |
|
1424 | 1452 |
} |
1425 | 1453 |
} |
1426 | 1454 |
} |
내보내기 Unified diff