修改一些变量和界面
This commit is contained in:
@ -49,8 +49,8 @@ namespace DHSoftware.Views
|
||||
return;
|
||||
}
|
||||
detectionLable.LabelName = iptName.Text;
|
||||
detectionLable.MinSource=Convert.ToDouble(iptMinSource.Text);
|
||||
detectionLable.MaxSource = Convert.ToDouble(iptMaxSource.Text);
|
||||
detectionLable.MinScore=Convert.ToDouble(iptMinSource.Text);
|
||||
detectionLable.MaxScore = Convert.ToDouble(iptMaxSource.Text);
|
||||
detectionLable.MinArea = Convert.ToDouble(iptMinArea.Text);
|
||||
detectionLable.MaxArea = Convert.ToDouble(iptMaxArea.Text);
|
||||
ResultState state = EnumHelper.GetEnumFromDescription<ResultState>(sltResultState.Text);
|
||||
@ -84,8 +84,8 @@ namespace DHSoftware.Views
|
||||
else
|
||||
{
|
||||
iptName.Text = detectionLable.LabelName;
|
||||
iptMinSource.Text = detectionLable.MinSource.ToString();
|
||||
iptMaxSource.Text = detectionLable.MaxSource.ToString();
|
||||
iptMinSource.Text = detectionLable.MinScore.ToString();
|
||||
iptMaxSource.Text = detectionLable.MaxScore.ToString();
|
||||
iptMinArea.Text = detectionLable.MinArea.ToString();
|
||||
iptMaxArea.Text = detectionLable.MaxArea.ToString();
|
||||
sltResultState.Text= EnumHelper.GetEnumDescription(detectionLable.ResultState);
|
||||
|
Reference in New Issue
Block a user