/// <summary> /// 更新轴状态 /// </summary> private void UpdateAxisAlarm() { m_labelXAlarm.Enabled = m_oKernel.GetAxisAlarmSts(0, CKernel.ENUM_AXIS_TYPE.X_AXIS); m_labelYAlarm.Enabled = m_oKernel.GetAxisAlarmSts(0, CKernel.ENUM_AXIS_TYPE.Y_AXIS); m_labelZAlarm.Enabled = m_oKernel.GetAxisAlarmSts(0, CKernel.ENUM_AXIS_TYPE.Z_AXIS); }