AnimatLab  2
Test
StandardInterface.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 StandardInterface : AnimatGUI.DataObjects.Robotics.RobotInterface
12  {
13  public override string Description{get {return "Interfaces with a robot using standalone simulation files.";} set { }}
14  public override string ButtonImageName{get {return "RoboticsGUI.Graphics.RobotInterface.gif";}}
15  public override string PartType {get { return "StandardInterface"; }}
16  public override string ModuleName {get {return "RoboticsAnimatSim";}}
17 
18  public StandardInterface(AnimatGUI.Framework.DataObject doParent)
19  : base(doParent)
20  {
21  m_strName = "Standard Interface";
22 
23  m_doPhysics = new RoboticsGUI.RoboticsPhysicsEngine(this);
24  m_doPhysics.SetLibraryVersion("Double", true);
25  }
26 
27  public override AnimatGUI.Framework.DataObject Clone(AnimatGUI.Framework.DataObject doParent, bool bCutData, AnimatGUI.Framework.DataObject doRoot)
28  {
29  StandardInterface doInterface = new StandardInterface(doParent);
30  return doInterface;
31  }
32 
33  }
34  }
35 }