IEnumerator PlayWhichData(string name) { yield return(new WaitForSeconds(2f)); if (name == "ChargingPile") { dataPanel.ChageDataInfo(); } if (name == "Carport") { dataPanel.CarPortDataInfo(); } if (name == "GuangFuBan") { dataPanel.PhotovoltaicDataInfo(); } }
private void ChargeEvent() { dataPanel.ChageDataInfo(); }