using Global; using ModelBasic; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; namespace DTTest { public partial class E { } public partial class ModelManagement { /// /// /// /// /// public virtual void ModelMotionControl_CurrModelInfo(object sender, Data_ClickModel m) { if (GlobalEventInterface.E_ModelMotionControl_CurrClickModel != null) { GlobalEventInterface.E_ModelMotionControl_CurrClickModel.Invoke(sender, m); } } /// /// /// /// /// /// /// /// /// public virtual void RobotData(double[] threejsBaseQ, double[] threejsToolQ, double[] threejsTcpQ, double[] threejsBaseP, double[] threejsToolP, double[] threejsTcpP) { if (GlobalEventInterface.E_RobotData != null) { GlobalEventInterface.E_RobotData.Invoke(threejsBaseQ, threejsToolQ, threejsTcpQ, threejsBaseP, threejsToolP, threejsTcpP); } } /// /// /// /// /// public virtual void ModelControl_CurrRunInfoEvent(int index, int indexAll, C_Frames arg2) { if (GlobalEventInterface.E_ShowIndex != null) { GlobalEventInterface.E_ShowIndex.Invoke(index, indexAll); } } /// /// /// public virtual void ModelControl_PlayTaskEnd() { if (GlobalEventInterface.E_ModelControl_PlayTaskEnd != null) { GlobalEventInterface.E_ModelControl_PlayTaskEnd.Invoke(); } } /// /// /// /// public virtual void CurrTime_Play(long currTime_Play) { if (GlobalEventInterface.E_CurrTime_Play != null) { GlobalEventInterface.E_CurrTime_Play.Invoke(currTime_Play); } } /// /// /// /// public virtual void PlayCurrCraftTaskEnd(string craftCode) { if (GlobalEventInterface.E_PlayCurrCraftTaskEnd != null) { GlobalEventInterface.E_PlayCurrCraftTaskEnd.Invoke(craftCode); } } /// /// /// /// /// public virtual void ShowIndex(int index_ActFindCraftPlay, int maxRunFrame) { if (GlobalEventInterface.E_ShowIndex != null) { GlobalEventInterface.E_ShowIndex.Invoke(index_ActFindCraftPlay, maxRunFrame); } } /// /// /// /// public virtual void PlayCurrActTaskEnd(string actCode) { if (GlobalEventInterface.E_PlayCurrActTaskEnd != null) { GlobalEventInterface.E_PlayCurrActTaskEnd.Invoke(actCode); } }//~~~ /// /// /// /// public virtual void PlayCurrActCraftTaskEnd(int index_ActFindCraftPlay) { if (GlobalEventInterface.E_PlayCurrActCraftTaskEnd != null) { GlobalEventInterface.E_PlayCurrActCraftTaskEnd.Invoke(index_ActFindCraftPlay); } }//~~~ /// /// /// /// public virtual void ModelControl_CurrRunInfoEventPs(int index) { if (GlobalEventInterface.E_ModelControl_CurrRunInfoEventPs != null) { GlobalEventInterface.E_ModelControl_CurrRunInfoEventPs.Invoke(index); } } /// /// /// /// public virtual void PlayDeviceSignalSimTaskEnd(string deviceSignalSimCode) { if (GlobalEventInterface.E_PlayDeviceSignalSimTaskEnd != null) { GlobalEventInterface.E_PlayDeviceSignalSimTaskEnd.Invoke(deviceSignalSimCode); } } /// /// /// public virtual void OpenFileModel() { if (GlobalEventInterface.E_OpenFileModel != null) { GlobalEventInterface.E_OpenFileModel.Invoke(); } } } }