功率范围

master
lxw 6 months ago
parent 163335b314
commit 20724296fc

@ -72,7 +72,7 @@ public class ChargeController : ControllerBase
[Route("SendPowerRegulation/{code}/{power}")]
public Result<bool> SendPowerRegulation(string code, float power)
{
if (power < 1 || power > 360)
if (power <=0 || power > 280)
{
return Result<bool>.Fail("功率值范围1到360");
}

Loading…
Cancel
Save