예제 #1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="ProjectNo"></param>
        public ChangeListViewModel(String ProjectNo, string ProjectName)
        {
            this.projectNo   = ProjectNo;
            this.projectName = ProjectName;
            MeteringPaymentClient client = new MeteringPaymentClient();

            projectBoqChangeService = client.GetIContractBoqChangeService();
            projectBoqService       = client.GetIContractBoqService();
            ChangedList             = new BindingList <ContractBoqChangeInfo>();
        }
예제 #2
0
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="ChangeNo"></param>
        public ChangeDetailViewModel(BindingList <ContractBoqChangeInfo> ChangedList, String ProjectNo, string ProjectName = "")
        {
            this.projectNo   = ProjectNo;
            this.projectName = ProjectName;
            MeteringPaymentClient client = new MeteringPaymentClient();

            projectBoqChangeService = client.GetIContractBoqChangeService();
            projectBoqService       = client.GetIContractBoqService();
            this.ChangedList        = ChangedList;
            BoqChangeEx             = new ProjectBoqChangeEx();
            BoqChangeEx.ProjectNo   = projectNo;
        }