Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Command"/> class.
 /// </summary>
 /// <param name="parent">
 /// The parent.
 /// </param>
 public Command(Neato parent)
 {
     this.Movement = new Movement(parent);
     this.GetInfo = new GetInfo(parent);
     this.Test = new Test(parent);
     this.Schedule = new Schedule(parent);
     this.System = new Sys(parent);
     this.Misc = new Misc(parent);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Command"/> class.
 /// </summary>
 /// <param name="parent">
 /// The parent.
 /// </param>
 public Command(Neato parent)
 {
     this.Movement = new Movement(parent);
     this.GetInfo  = new GetInfo(parent);
     this.Test     = new Test(parent);
     this.Schedule = new Schedule(parent);
     this.System   = new Sys(parent);
     this.Misc     = new Misc(parent);
 }
Exemplo n.º 3
0
 public Form1()
 {
     this.InitializeComponent();
     this.comboBoxSound.DataSource           = Enum.GetValues(typeof(Sounds));
     this.comboBoxLDSRotationFlag.DataSource = Enum.GetValues(typeof(LDSRotation));
     this.comboBoxSysMode.DataSource         = Enum.GetValues(typeof(SystemMode));
     this.robot = new Neato();
     this.CheckIfConnected();
 }
Exemplo n.º 4
0
 public void TearDown()
 {
     this.Robot = null;
 }
Exemplo n.º 5
0
 public void SetUp()
 {
     this.Robot = new Neato(new NeatoMockPort());
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Misc"/> class.
 /// </summary>
 /// <param name="parent">
 /// TODO: Add description.
 /// </param>
 public Misc(Neato parent)
 {
     this.neato = parent;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Misc"/> class. 
 /// </summary>
 /// <param name="parent">
 /// TODO: Add description.
 /// </param>
 public Misc(Neato parent)
 {
     this.neato = parent;
 }