AnimatLab  2
Test
LANWirelessInterface.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using AnimatGUI.Framework;
6 
7 namespace RoboticsGUI
8 {
9  namespace RobotInterfaces
10  {
11  public class LANWirelessInterface : AnimatGUI.DataObjects.Robotics.RobotInterface
12  {
13  public override string Description{get {return "Interfaces with a robot wireless over a LAN network.";} set { }}
14  public override string ButtonImageName{get {return "RoboticsGUI.Graphics.LANWirelessInterface.gif";}}
15  public override string PartType {get { return "LANWirelessInterface"; }}
16  public override string ModuleName {get {return "RoboticsAnimatSim";}}
17  public override bool AllowUserAdd {get {return false;}}
18 
19  public LANWirelessInterface(AnimatGUI.Framework.DataObject doParent)
20  : base(doParent)
21  {
22  m_strName = "LAN Wireless Interface";
23 
24  m_doPhysics = new RoboticsGUI.RoboticsPhysicsEngine(this);
25  m_doPhysics.SetLibraryVersion("Double", true);
26  }
27 
28  public override AnimatGUI.Framework.DataObject Clone(AnimatGUI.Framework.DataObject doParent, bool bCutData, AnimatGUI.Framework.DataObject doRoot)
29  {
30  LANWirelessInterface doInterface = new LANWirelessInterface(doParent);
31  return doInterface;
32  }
33 
34  }
35  }
36 }