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