|
@@ -282,9 +282,9 @@ namespace MOTINOVA_Motor_Factory_Set
|
|
|
return false;
|
|
|
}
|
|
|
Params1.Add("限速值", Convert.ToUInt16(textBox_SpeedLimit.Text));
|
|
|
- if (Params1["限速值"] < 5 || Params1["限速值"] > 80)
|
|
|
+ if (Params1["限速值"] < 5 || Params1["限速值"] > 120)
|
|
|
{
|
|
|
- MessageBox.Show("限速值有效值:5~80 !", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
+ MessageBox.Show("限速值有效值:5~120 !", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
return false;
|
|
|
}
|
|
|
Params1.Add("下降速度", Convert.ToUInt16(textBox_Dec.Text));
|
|
@@ -326,9 +326,9 @@ namespace MOTINOVA_Motor_Factory_Set
|
|
|
MessageBox.Show("请检查无码表设置!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
}
|
|
|
Params1.Add("轮胎周长", Convert.ToUInt16(textBox_WheelSize.Text));
|
|
|
- if (Params1["轮胎周长"] < 100 || Params1["轮胎周长"] > 250)
|
|
|
+ if (Params1["轮胎周长"] < 80 || Params1["轮胎周长"] > 250)
|
|
|
{
|
|
|
- MessageBox.Show("轮胎周长有效值:100~250 !", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
+ MessageBox.Show("轮胎周长有效值:80~250 !", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
|
|
return false;
|
|
|
}
|
|
|
Params1.Add("系列号", Convert.ToUInt16(textBox_Serial.Text));
|