public void Add(string key, MotionCardBase value) { if (m_motionCards.ContainsKey(key)) { throw new Exception($"the keyname {key} is already exist"); } m_motionCards.Add(key, value); }
public StepMotor(MotionCardBase motionCard, uint axisindex, string devicename, Guid guid) : base(devicename, guid) { m_motionCard = motionCard; m_axisIndex = axisindex; }
public ServoMotor(MotionCardBase motionCard, uint axisindex, string devicename, Guid guid) : base(motionCard, axisindex, devicename, guid) { }