public bool SetChargePrice(string devID, float TaperPrice, float PeakPrice, float FlatPrice, float ValleyPrice) { xd.SendSetChargePrice(devID, Convert.ToUInt32(TaperPrice * 100000), Convert.ToUInt32(PeakPrice * 100000), Convert.ToUInt32(FlatPrice * 100000), Convert.ToUInt32(ValleyPrice * 100000)); return(true); }