| | |
| | | } |
| | | _vm.Scheme.Name = this.txtName.Text.Trim(); |
| | | _vm.Scheme.NO = this.txtNO.Text.Trim(); |
| | | _vm.Scheme.SiteID = _vm.ProjectSite.ID; |
| | | _vm.Scheme.Flags = this.setFlagsEditCtrl1.SelectedFlagList; |
| | | _vm.Scheme.AllowCustom = this.ckAllowCustom.Checked; |
| | | _vm.Scheme.ChangeTypes = this.xhsSchemeChangeTypeCheckedListHorizCtrl1.GetCheckedList(); |
| | |
| | | /// </summary> |
| | | public bool CanComplete() |
| | | { |
| | | return Save(); |
| | | if (!_isInitialize) |
| | | { |
| | | return false; |
| | | } |
| | | if (!Save()) |
| | | return false; |
| | | var bol = Task.Run(async () => await CreateXhsSchemeHelper.Create(_vm)).Result; |
| | | return bol; |
| | | } |
| | | |
| | | |