Action1004.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. using PaintDotNet.Data.Param;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PaintDotNet.Data.Action
  8. {
  9. /// <summary>
  10. /// 两相面积含量
  11. /// </summary>
  12. public class Action1004 : ParamObject
  13. {
  14. public Action1004()
  15. {
  16. this.MenuId = ActionType.TwoPhaseArea;
  17. //小数
  18. IntegerNumber eight = new IntegerNumber(0, 10);
  19. eight.key = "CalculatorDecimalDigits";
  20. eight.name = "小数点位数";
  21. eight.initialValue = 2;
  22. eight.value = 2;
  23. lists.Add(eight);
  24. lists.Add(new BooleanObject("OpenWhileExportReport", "生成报告时打开设置", true, null));
  25. lists.Add(new BooleanObject("ExportResults", "导出结果", true, null));
  26. lists.Add(new BooleanObject("ExportReports", "生成报告", true, null));
  27. lists.Add(new BooleanObject("ExportProjects", "导出项目", true, null));
  28. }
  29. }
  30. }