Action1101221.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using PaintDotNet.Data.Param;
  2. namespace PaintDotNet.Data.Action
  3. {
  4. /// <summary>
  5. /// 晶粒度GB/T6394-2017截点法
  6. /// </summary>
  7. public class Action1101221 : Action11012
  8. {
  9. public Action1101221() : base()
  10. {
  11. this.MenuId = ActionType.GrainSizeGBT63944CutOffPointMethod;
  12. this.OpenImage = "current";
  13. ////第一个参数
  14. //DecimalNumber one = new DecimalNumber(0, 127);
  15. //one.key = "Sigma";
  16. //one.name = PdnResources.GetString("Menu.Image.Sigma.Text");
  17. //one.DecimalPlaces = 1;
  18. //one.initialValue = 1;
  19. //one.value = 1;
  20. //lists.Add(one);
  21. ////第二个参数
  22. //IntegerNumber two = new IntegerNumber(0, 100);
  23. //two.key = "KernelSize1";
  24. //two.name = PdnResources.GetString("Menu.ImageProcessing.boundarydetection.MinSize.text");
  25. //two.initialValue = 20;
  26. //two.value = 20;
  27. //lists.Add(two);
  28. ////第三个参数
  29. //IntegerNumber three = new IntegerNumber(0, 100);
  30. //three.key = "KernelSize2";
  31. //three.name = PdnResources.GetString("Menu.ImageProcessing.boundarydetection.maxsize.text");
  32. //three.initialValue = 100;
  33. //three.value = 100;
  34. //lists.Add(three);
  35. }
  36. }
  37. }