Exemplo n.º 1
0
        public async void Update()
        {
            await PCHandler.GetDriverStile();

            CurrentDrivingStyle = PCHandler.DriverStyle.CurrentDrivingStyle / 100.0;
            CurrentEcoStyle     = PCHandler.DriverStyle.CurrentEcoStyle / 100.0;
            TotalDrivingScore   = PCHandler.DriverStyle.TotalDrivingScore;
            TodayDrivingScore   = PCHandler.DriverStyle.TodayDrivingScore;
            TotalEcoScore       = PCHandler.DriverStyle.TotalEcoScore;
            TodayEcoScore       = PCHandler.DriverStyle.TodayEcoScore;
        }