コード例 #1
0
 /// <summary>
 /// Set up the ID references for this object
 /// </summary>
 public override void InitializeIDReferences()
 {
     base.InitializeIDReferences();
     _motionSystem = GetParent <MotionSystemBase>();
     if (_motionSystem == null)
     {
         throw new MCoreExceptionPopup("The '{0}' axis must have a MotionSystemBase parent", Name);
     }
 }