Exemple #1
0
        /// <summary>
        ///     创建定检年度维修成本
        /// </summary>
        /// <returns></returns>
        public static RegularCheckMaintainCost CreateRegularCheckMaintainCost()
        {
            var maintainCost = new RegularCheckMaintainCost();
            maintainCost.GenerateNewIdentity();

            return maintainCost;
        }
Exemple #2
0
 public static void SetRegularCheckMaintainCost(RegularCheckMaintainCost maintainCost, Guid aircraftId, Guid actionCategoryId, Guid aircraftTypeId, int regularCheckType,
     string regularCheckLevel, DateTime inMaintainTime, DateTime outMaintainTime, int totalDays, decimal departmentDeclareAmount, decimal financialApprovalAmount,
     decimal financialApprovalAmountNonTax, int maintainInvoiceId)
 {
     maintainCost.AircraftId = aircraftId;
     maintainCost.ActionCategoryId = actionCategoryId;
     maintainCost.AircraftTypeId = aircraftTypeId;
     maintainCost.RegularCheckType =(RegularCheckType) regularCheckType;
     maintainCost.RegularCheckLevel = regularCheckLevel;
     maintainCost.InMaintainTime = inMaintainTime;
     maintainCost.OutMaintainTime = outMaintainTime;
     maintainCost.TotalDays = totalDays;
     maintainCost.DepartmentDeclareAmount = departmentDeclareAmount;
     maintainCost.FinancialApprovalAmount = financialApprovalAmount;
     maintainCost.FinancialApprovalAmountNonTax = financialApprovalAmountNonTax;
     maintainCost.MaintainInvoiceId = maintainInvoiceId;
 }