Exemple #1
0
 static void Main(string[] args)
 {
     th = new Thread(Do);
     th.IsBackground = true;
     th.Start();
     Do();
     th.Join();
     double idling       = ResourceMap.GetCurrentIdlePercentage(resourceName);
     double overload     = ResourceMap.GetOverloadPercentage(resourceName, 2);
     double overloadRate = ResourceMap.GetOverloadRate(resourceName);
     double speed        = SpeedMap.GetCurrentSpeed(resourceName);
 }