MotionSystemActiveMechanicalUnitChanged Event |
Namespace: ABB.Robotics.Controllers.MotionDomain
public event ActiveMechanicalUnitEventHandler ActiveMechanicalUnitChanged
Controller c = new Controller(); MotionSystem motion = c.MotionSystem; motion.ActiveMechanicalUnitChanged +=new ActiveMechanicalUnitEventHandler(motion_ActiveMechanicalUnitChanged); private void motion_ActiveMechanicalUnitChanged(MotionSystem sender, ActiveMechanicalUnitEventArgs e) { if (e.Name == "ROB_1") { // Do something } }