コード例 #1
0
ファイル: Command.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <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
ファイル: Command.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <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
ファイル: Misc.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <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;
 }