提交bug
This commit is contained in:
@ -175,7 +175,7 @@ namespace DHSoftware.Views
|
||||
AntdUI.Message.warn(this, "挡料电机速度值无效");
|
||||
return;
|
||||
}
|
||||
if (!int.TryParse(iptBarrierPos.Text, out int barrierPos) || speed == 0)
|
||||
if (!int.TryParse(iptBarrierPos.Text, out int barrierPos) || barrierPos == 0)
|
||||
{
|
||||
AntdUI.Message.warn(this, "挡料电机位置值无效");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user