Пример #1
0
    IEnumerator PlayWhichData(string name)
    {
        yield return(new WaitForSeconds(2f));

        if (name == "ChargingPile")
        {
            dataPanel.ChageDataInfo();
        }
        if (name == "Carport")
        {
            dataPanel.CarPortDataInfo();
        }
        if (name == "GuangFuBan")
        {
            dataPanel.PhotovoltaicDataInfo();
        }
    }
Пример #2
0
 private void PhontovoltaicEvent()
 {
     dataPanel.PhotovoltaicDataInfo();
 }