2 using System.Collections.Generic;
8 namespace RobotIOControls
15 public override string Description {
get {
return "Controls a pulse width modulation signal from a Firmata controller.";} set { }}
16 public override string WorkspaceImageName {
get {
return "RoboticsGUI.Graphics.PWMSmall.gif";}}
17 public override string ButtonImageName {
get {
return "RoboticsGUI.Graphics.PWMLarge.gif";}}
18 public override string PartType {
get {
return "FirmataPWMOutput"; }}
19 public override string ModuleName {
get {
return "RoboticsAnimatSim"; } }
24 m_strName =
"PWM Output";
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 PWM value will be output.", this.IOComponentID));