/// <summary>
 ///     创建飞机日利用率
 /// </summary>
 /// <param name="aircraftId">运营飞机</param>
 /// <param name="regNumber">飞机注册号</param>
 /// <param name="calculatedHour">计算日利用小时</param>
 /// <param name="calculatedCycle">计算日利用循环</param>
 /// <param name="year">年度</param>
 /// <param name="month">月份</param>
 /// <returns>飞机日利用率</returns>
 public static AcDailyUtilization CreateAcDailyUtilization(
     Guid aircraftId,
     string regNumber,
     decimal calculatedHour,
     decimal calculatedCycle,
     int year,
     int month)
 {
     var acDailyUtilization = new AcDailyUtilization
     {
         CalculatedHour = calculatedHour,
         CalculatedCycle = calculatedCycle,
         Year = year,
         Month = month
     };
     acDailyUtilization.GenerateNewIdentity();
     acDailyUtilization.SetAircraft(aircraftId, regNumber);
     acDailyUtilization.SetIsCurrent(true);
     return acDailyUtilization;
 }
 /// <summary>
 ///     更新飞机日利用率
 /// </summary>
 /// <param name="acDailyUtilization">飞机日利用率</param>
 /// <param name="aircraftId">运营飞机</param>
 /// <param name="regNumber">飞机注册号</param>
 /// <param name="calculatedHour">计算日利用小时</param>
 /// <param name="calculatedCycle">计算日利用循环</param>
 /// <param name="amendHour">修正日利用小时</param>
 /// <param name="amendCycle">修正日利用循环</param>
 /// <param name="year">年度</param>
 /// <param name="month">月份</param>
 /// <returns>飞机日利用率</returns>
 public static AcDailyUtilization UpdateAcDailyUtilization(
     AcDailyUtilization acDailyUtilization,
     Guid aircraftId,
     string regNumber,
     decimal calculatedHour,
     decimal calculatedCycle,
     decimal amendHour,
     decimal amendCycle,
     int year,
     int month)
 {
     acDailyUtilization.CalculatedHour = calculatedHour;
     acDailyUtilization.CalculatedCycle = calculatedCycle;
     acDailyUtilization.Year = year;
     acDailyUtilization.Month = month;
     acDailyUtilization.GenerateNewIdentity();
     acDailyUtilization.SetAircraft(aircraftId, regNumber);
     acDailyUtilization.SetIsCurrent(true);
     acDailyUtilization.SetAmendHour(amendHour);
     acDailyUtilization.SetAmendCycle(amendCycle);
     return acDailyUtilization;
 }