프로젝트

일반

사용자정보

개정판 9b2f01e1

ID9b2f01e1d791cb0e9fa730fcd1060aaf7ad464dd
상위 72862ad1
하위 f23757e4

semi 이(가) 4년 이상 전에 추가함

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

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