云平台调试

master
CZ 3 months ago
parent e608310ae0
commit b21150ee0a

@ -21,6 +21,8 @@ public class PileStartChargeHandler : IBaseHandler
public void Handle(string t)
{
PileStartCharge? pileStartCharge = JsonConvert.DeserializeObject<PileStartCharge>(t);
if(string.IsNullOrEmpty(pileStartCharge.cp))
pileStartCharge.cp = "0";
if (pileStartCharge != null)
{
HttpUtil.SendPostRequest(pileStartCharge, "http://127.0.0.1:5035/api/OutCharger/SendStartOutCharger");

Loading…
Cancel
Save