Exemple #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);
 }
Exemple #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);
 }
Exemple #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();
 }
Exemple #4
0
 public void TearDown()
 {
     this.Robot = null;
 }
Exemple #5
0
 public void SetUp()
 {
     this.Robot = new Neato(new NeatoMockPort());
 }
Exemple #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;
 }
Exemple #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;
 }