2 using System.Collections.Generic;
8 namespace RobotIOControls
15 public override string Description {
get {
return "Reads input from a digital switch on a Firmata controller.";} set { }}
16 public override string WorkspaceImageName {
get {
return "RoboticsGUI.Graphics.DigitalInputSmall.gif";}}
17 public override string ButtonImageName {
get {
return "RoboticsGUI.Graphics.DigitalInputLarge.gif";}}
18 public override string PartType {
get {
return "FirmataDigitalInput"; }}
19 public override string ModuleName {
get {
return "RoboticsAnimatSim"; } }
24 m_strName =
"Digital Input";
27 public override AnimatGUI.Framework.DataObject Clone(AnimatGUI.Framework.DataObject doParent,
bool bCutData, AnimatGUI.Framework.DataObject doRoot)
33 public override void BuildProperties(ref AnimatGuiCtrls.Controls.PropertyTable propTable)
35 base.BuildProperties(ref propTable);
37 propTable.Properties.Add(
new AnimatGuiCtrls.Controls.PropertySpec(
"Pin",
this.IOComponentID.GetType(),
"IOComponentID",
38 "Properties",
"The pin number where the digial input will be retrieved.", this.IOComponentID));