123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- using Resources;
- using SmartCoalApplication.Base;
- using SmartCoalApplication.CustomControl;
- using System;
- using System.Windows.Forms;
- namespace SmartCoalApplication.Core.Param
- {
- /// <summary>
- /// 输入图像
- /// </summary>
- public class InputMatObject : Args
- {
- /// <summary>
- /// 输入图像的名称,不为空
- /// </summary>
- private string friendlyName;
- /// <summary>
- /// 输入图像的文件路径,可能为空
- /// </summary>
- private string filePath;
- //public void numberParam_ValueChanged(object sender, EventArgs e)
- //{
- // if (sender.GetType() == typeof(NumberParamControl))
- // {
- // this.Value = ((NumberParamControl)sender).Value;
- // }
- // else if (sender.GetType() == typeof(NumericUpDown))
- // {
- // this.Value = ((NumericUpDown)sender).Value;
- // }
- //}
- public InputMatObject()
- {
- this.Type = Dtryt.Input;
- this.friendlyName = PdnResources.GetString("Untitled.FriendlyName");//待修改中文资源-scc备注 20191217
- this.filePath = null;
- }
- public string FriendlyName
- {
- get
- {
- return this.friendlyName;
- }
- set
- {
- this.friendlyName = value;
- }
- }
- public string FilePath
- {
- get
- {
- return this.filePath;
- }
- set
- {
- this.filePath = value;
- }
- }
- }
- }
|