using Resources;
using SmartCoalApplication.Base;
using SmartCoalApplication.CustomControl;
using System;
using System.Windows.Forms;
namespace SmartCoalApplication.Core.Param
{
///
/// 输入图像
///
public class InputMatObject : Args
{
///
/// 输入图像的名称,不为空
///
private string friendlyName;
///
/// 输入图像的文件路径,可能为空
///
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;
}
}
}
}