コード例 #1
0
ファイル: Form1.cs プロジェクト: heX16/NeatoCSharpAPI
 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();
 }
コード例 #2
0
ファイル: Sys.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Initializes a new instance of the <see cref="Sys"/> class.
 /// </summary>
 /// <param name="parent">
 /// TODO: Add description.
 /// </param>
 public Sys(Neato parent)
 {
     this.neato = parent;
 }
コード例 #3
0
ファイル: Test.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Initializes a new instance of the <see cref="Test"/> class.
 /// </summary>
 /// <param name="parent">
 /// // TODO: Update parameter info.
 /// </param>
 public Test(Neato parent)
 {
     this.neato = parent;
 }
コード例 #4
0
ファイル: Schedule.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Initializes a new instance of the <see cref="Schedule"/> class. 
 /// </summary>
 /// <param name="parent">
 /// TODO: Add description.
 /// </param>
 public Schedule(Neato parent)
 {
     this.neato = parent;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Movement"/> class.
 /// </summary>
 /// <param name="parent">
 /// Connection to the Neato to be moved. TODO:
 /// </param>
 public Movement(Neato parent)
 {
     this.neato = parent;
 }
コード例 #6
0
ファイル: Sys.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Initializes a new instance of the <see cref="Sys"/> class. 
 /// </summary>
 /// <param name="parent">
 /// TODO: Add description.
 /// </param>
 public Sys(Neato parent)
 {
     this.neato = parent;
 }
コード例 #7
0
ファイル: NeatoTest.cs プロジェクト: heX16/NeatoCSharpAPI
 public void TearDown()
 {
     this.Robot = null;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GetInfo"/> class.
 /// </summary>
 /// <param name="parent">
 /// Connection to the Neato to be moved. TODO:
 /// </param>
 public GetInfo(Neato parent)
 {
     this.neato = parent;
 }
コード例 #9
0
ファイル: NeatoTest.cs プロジェクト: heX16/NeatoCSharpAPI
 public void SetUp()
 {
     this.Robot = new Neato(new NeatoMockPort());
 }
コード例 #10
0
ファイル: Movement.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Initializes a new instance of the <see cref="Movement"/> class.
 /// </summary>
 /// <param name="parent">
 /// Connection to the Neato to be moved. TODO:
 /// </param>
 public Movement(Neato parent)
 {
     this.neato = parent;
 }
コード例 #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Schedule"/> class.
 /// </summary>
 /// <param name="parent">
 /// TODO: Add description.
 /// </param>
 public Schedule(Neato parent)
 {
     this.neato = parent;
 }
コード例 #12
0
ファイル: GetInfo.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Initializes a new instance of the <see cref="GetInfo"/> class.
 /// </summary>
 /// <param name="parent">
 /// Connection to the Neato to be moved. TODO:
 /// </param>
 public GetInfo(Neato parent)
 {
     this.neato = parent;
 }
コード例 #13
0
ファイル: Test.cs プロジェクト: heX16/NeatoCSharpAPI
 /// <summary>
 /// Initializes a new instance of the <see cref="Test"/> class.
 /// </summary>
 /// <param name="parent">
 /// // TODO: Update parameter info.
 /// </param>
 public Test(Neato parent)
 {
     this.neato = parent;
 }