using PaintDotNet.Data.Param; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PaintDotNet.Data.Action { /// /// 多相统计 /// public class Action1002 : ParamObject { public Action1002() { this.MenuId = ActionType.MultiphaseStatistics; //小数 IntegerNumber eight = new IntegerNumber(0, 10); eight.key = "CalculatorDecimalDigits"; eight.name = "小数点位数"; eight.initialValue = 2; eight.value = 2; lists.Add(eight); lists.Add(new BooleanObject("OpenWhileExportReport", "生成报告时打开设置", true, null)); lists.Add(new BooleanObject("ExportResults", "导出结果", true, null)); lists.Add(new BooleanObject("ExportReports", "生成报告", true, null)); lists.Add(new BooleanObject("ExportProjects", "导出项目", true, null)); } } }