private void UpdateMainParameters() { //switch (_commonData.Packing) //{ // case Packing.Standart: _mainParamsViewModel.IsStandartPacking = true; break; // case Packing.Box: _mainParamsViewModel.IsBoxPacking = true; break; // case Packing.Complete: _mainParamsViewModel.IsCompletePacking = true; break; // case Packing.Other: _mainParamsViewModel.IsOtherPacking = true; break; //} //_mainParamsViewModel.OtherPackingText = _commonData.OtherPackingText; _mainParamsViewModel.FillDate = _commonData.FillDate; _mainParamsViewModel.DocApprover = _commonData.Approver; _mainParamsViewModel.DocDeveloper = _commonData.Developer; _mainParamsViewModel.ObjectInfo = _commonData.ObjectInfo; _mainParamsViewModel.ObjectRequest = _commonData.ObjectRequest; _mainParamsViewModel.ObjectTitle = _commonData.ObjectTitle; //_mainParamsViewModel.IsReqAdditionalList = _commonData.IsReqAdditionalList; _mainParamsViewModel.LoadParams(_commonData.AdditionalRequirements); }