1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using PaintDotNet.Data.Param;
- namespace PaintDotNet.Data.Action
- {
- /// <summary>
- /// 晶粒度GB/T6394-2017截点法
- /// </summary>
- 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);
- }
- }
- }
|