MethodBoxAwA / Aim

功能齐全、开放的待办软件。
GNU Affero General Public License v3.0
2 stars 0 forks source link

修复BUG:任务信息和简介无法显示 #2

Open MethodBoxAwA opened 4 months ago

MethodBoxAwA commented 4 months ago

任务信息和简介无法显示

预览: Image

代码堆栈:

      [Serializable]
      internal class UserPlan
      {
          /// <summary>
          /// The capital of this plan
          /// </summary>
          public string Capital { get; set; }

          /// <summary>
          /// The duration of this plan will continue
          /// </summary>
          public int Seconds { get; set; }

          /// <summary>
          /// The introduce of this plan
          /// </summary>
          public string Intro { get; set ; }

          /// <summary>
          /// A number from 1 to 10, in steps of 0.1, representing the difficulty of this plan
          /// </summary>
          public double Difficulty { get; set; }

          /// <summary>
          /// The unique identifier of this plan
          /// </summary>
          public int UDID { get; set; }

          /// <summary>
          /// The list to which this plan belongs
          /// </summary>
          public string Parent { get; set; }

          /// <summary>
          /// Lasting obtained from completing this plan
          /// </summary>
          public int Lasting { get; set; }

          /// <summary>
          /// Wisdom obtained from completing this plan
          /// </summary>
          public int Wisdom { get; set; }

          /// <summary>
          /// Explosive obtained from completing this plan
          /// </summary>
          public int Explosive { get; set; }

          /// <summary>
          /// Task start time
          /// </summary>
          public long StartTime { get; set; } = DateTime.Now.ToFileTimeUtc();

          /// <summary>
          /// AddSign delegate
          /// </summary>
          public Action<int> AddSign = null;

          /// <summary>
          /// Model applicable in plan building
          /// </summary>
          public PlanBuildMode BuildMode { get; set; } = PlanBuildMode.A;
      }
MethodBoxAwA commented 4 months ago

受不了了草泥马的