private void Balkan_Notify(object sender, BalkanEventArgs e) { speed = e.Speed; Console.WriteLine("Speed={0}", e.Speed.ToString()); vibroOne = e.VibroOne; Console.WriteLine("VibroOne={0}", e.VibroOne.ToString()); vibroTwo = e.VibroTwo; Console.WriteLine("VibroTwo={0}", e.VibroTwo.ToString()); phaseOne = e.PhaseOne; Console.WriteLine("PhaseOne={0}", e.PhaseOne.ToString()); phaseTwo = e.PhaseTwo; Console.WriteLine("PhaseTwo={0}", e.PhaseTwo.ToString()); BalkanStatusOk = balkan.statusOk; }
private void Balkan_NotifyErr(object sender, BalkanEventArgs e) { BalkanStatusOk = balkan.statusOk; }