12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using PaintDotNet.Data.Param;
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PaintDotNet.Data.Action
- {
- public class Action11012Measurement: ActionAnalysis
- {
- public Action11012Measurement() {
- //线宽
- IntegerNumber one = new IntegerNumber(1, 50);
- one.key = "lineWidth";
- one.name = "线宽";
- one.initialValue = 7;
- one.value = 7;
- lists.Add(one);
- //颜色
- ColorNumber two = new ColorNumber();
- two.key = "lineColor";
- two.name = "颜色";
- two.Value = Color.Green.ToArgb();
- lists.Add(two);
- ////最大卡尺直径
- //DecimalNumber three = new DecimalNumber(0, 99999999);
- //three.key = "maxDiameter";
- //three.name = "最大卡尺直径";
- //three.DecimalPlaces = 2;
- //three.initialValue = 0;
- //three.value = 0;
- //lists.Add(three);
- ////垂直卡尺直径
- //DecimalNumber four = new DecimalNumber(0, 99999999);
- //four.key = "minDiameter";
- //four.name = "垂直卡尺直径";
- //four.DecimalPlaces = 2;
- //four.initialValue = 0;
- //four.value = 0;
- //lists.Add(four);
- }
- }
- }
|