MechanicalUnitDataEventArgs Class |
Namespace: ABB.Robotics.Controllers.MotionDomain
public class MechanicalUnitDataEventArgs : ControllerEventArgs
The MechanicalUnitDataEventArgs type exposes the following members.
Name | Description | |
---|---|---|
Reason |
Reason for the change event
| |
Time |
Time stamp of the event (from the controller).
(Inherited from ControllerEventArgs.) |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Controller c = new Controller(); MotionSystem motion = c.MotionSystem; MechanicalUnit mech = motion.GetActiveMechanicalUnit(); mech.DataChanged +=new MechanicalUnitDataEventHandler(mech_DataChanged); private void mech_DataChanged(MechanicalUnit sender, MechanicalUnitDataEventArgs e) { // Reread data stored in local variables, e.g., tool. }