コード例 #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 ChargeEvent()
 {
     dataPanel.ChageDataInfo();
 }