Пример #1
0
 public LEDCore(string port, int baudRate, Animation animation)
     : this(port, animation)
 {
     this.BaudRate = baudRate;
 }
Пример #2
0
 public void PlayAsync(Animation animation)
 {
     Console.WriteLine (animation.Name + " is now playing");
     animation.Play ();
 }
Пример #3
0
 public LEDCore(string port, Animation animation)
     : this()
 {
     this.Port = port;
     this.Animations.Add (animation);
 }
Пример #4
0
 public void Play(Animation animation)
 {
     Console.WriteLine (animation.Name + " is now playing");
     animation.Play ();
     animation.PlayThread.Join ();
 }