using PaintDotNet.Data.Param; namespace PaintDotNet.Data.Action { /// /// 晶粒度GB/T6394-2017截点法 /// public class Action1101221 : Action11012 { public Action1101221() : base() { this.MenuId = ActionType.GrainSizeGBT63944CutOffPointMethod; this.OpenImage = "current"; ////第一个参数 //DecimalNumber one = new DecimalNumber(0, 127); //one.key = "Sigma"; //one.name = PdnResources.GetString("Menu.Image.Sigma.Text"); //one.DecimalPlaces = 1; //one.initialValue = 1; //one.value = 1; //lists.Add(one); ////第二个参数 //IntegerNumber two = new IntegerNumber(0, 100); //two.key = "KernelSize1"; //two.name = PdnResources.GetString("Menu.ImageProcessing.boundarydetection.MinSize.text"); //two.initialValue = 20; //two.value = 20; //lists.Add(two); ////第三个参数 //IntegerNumber three = new IntegerNumber(0, 100); //three.key = "KernelSize2"; //three.name = PdnResources.GetString("Menu.ImageProcessing.boundarydetection.maxsize.text"); //three.initialValue = 100; //three.value = 100; //lists.Add(three); } } }