12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace PaintDotNet.Data.Param
- {
- [Serializable]
- public class Args
- {
- /// <summary>
- /// 参数类型,回头改成枚举
- /// 1数组(下拉或单选)
- /// 2整数数值范围(滑动块)
- /// 3小数数值范围(滑动块)
- /// 4正奇数数值范围(滑动块)
- /// 5输入图像
- /// 6输出图像
- /// 7抉择
- /// </summary>
- private Dtryt type;
- /// <summary>
- /// 参数的键
- /// </summary>
- public string key;
- /// <summary>
- /// 参数的初始值
- /// </summary>
- public object initialValue;
- /// <summary>
- /// 参数的值
- /// </summary>
- public object value;
- /// <summary>
- /// 参数名称
- /// </summary>
- public string name;
- public Dtryt Type
- {
- get
- {
- return this.type;
- }
- set
- {
- this.type = value;
- }
- }
- public string Key
- {
- get
- {
- return this.key;
- }
- set
- {
- this.key = value;
- }
- }
- public string Name
- {
- get
- {
- return this.name;
- }
- set
- {
- this.name = value;
- }
- }
- public object Value
- {
- get
- {
- return this.value;
- }
- set
- {
- this.value = value;
- }
- }
- }
- }
|