init: 导入项目到 meswork Gitea
This commit is contained in:
161
DataMirrorTools_Simulator/ModelBasic/Base/MM.Virtual.cs
Normal file
161
DataMirrorTools_Simulator/ModelBasic/Base/MM.Virtual.cs
Normal file
@@ -0,0 +1,161 @@
|
||||
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
|
||||
{
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="m"></param>
|
||||
public virtual void ModelMotionControl_CurrModelInfo(object sender, Data_ClickModel m)
|
||||
{
|
||||
if (GlobalEventInterface.E_ModelMotionControl_CurrClickModel != null)
|
||||
{
|
||||
GlobalEventInterface.E_ModelMotionControl_CurrClickModel.Invoke(sender, m);
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="threejsBaseQ"></param>
|
||||
/// <param name="threejsToolQ"></param>
|
||||
/// <param name="threejsTcpQ"></param>
|
||||
/// <param name="threejsBaseP"></param>
|
||||
/// <param name="threejsToolP"></param>
|
||||
/// <param name="threejsTcpP"></param>
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="arg1"></param>
|
||||
/// <param name="arg2"></param>
|
||||
public virtual void ModelControl_CurrRunInfoEvent(int index, int indexAll, C_Frames arg2)
|
||||
{
|
||||
if (GlobalEventInterface.E_ShowIndex != null)
|
||||
{
|
||||
GlobalEventInterface.E_ShowIndex.Invoke(index, indexAll);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public virtual void ModelControl_PlayTaskEnd()
|
||||
{
|
||||
if (GlobalEventInterface.E_ModelControl_PlayTaskEnd != null)
|
||||
{
|
||||
GlobalEventInterface.E_ModelControl_PlayTaskEnd.Invoke();
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="currTime_Play"></param>
|
||||
public virtual void CurrTime_Play(long currTime_Play)
|
||||
{
|
||||
if (GlobalEventInterface.E_CurrTime_Play != null)
|
||||
{
|
||||
GlobalEventInterface.E_CurrTime_Play.Invoke(currTime_Play);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="craftCode"></param>
|
||||
public virtual void PlayCurrCraftTaskEnd(string craftCode)
|
||||
{
|
||||
if (GlobalEventInterface.E_PlayCurrCraftTaskEnd != null)
|
||||
{
|
||||
GlobalEventInterface.E_PlayCurrCraftTaskEnd.Invoke(craftCode);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="index_ActFindCraftPlay"></param>
|
||||
/// <param name="maxRunFrame"></param>
|
||||
public virtual void ShowIndex(int index_ActFindCraftPlay, int maxRunFrame)
|
||||
{
|
||||
if (GlobalEventInterface.E_ShowIndex != null)
|
||||
{
|
||||
GlobalEventInterface.E_ShowIndex.Invoke(index_ActFindCraftPlay, maxRunFrame);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="actCode"></param>
|
||||
public virtual void PlayCurrActTaskEnd(string actCode)
|
||||
{
|
||||
if (GlobalEventInterface.E_PlayCurrActTaskEnd != null)
|
||||
{
|
||||
GlobalEventInterface.E_PlayCurrActTaskEnd.Invoke(actCode);
|
||||
}
|
||||
}//~~~
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="index_ActFindCraftPlay"></param>
|
||||
public virtual void PlayCurrActCraftTaskEnd(int index_ActFindCraftPlay)
|
||||
{
|
||||
if (GlobalEventInterface.E_PlayCurrActCraftTaskEnd != null)
|
||||
{
|
||||
GlobalEventInterface.E_PlayCurrActCraftTaskEnd.Invoke(index_ActFindCraftPlay);
|
||||
}
|
||||
}//~~~
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="index"></param>
|
||||
public virtual void ModelControl_CurrRunInfoEventPs(int index)
|
||||
{
|
||||
if (GlobalEventInterface.E_ModelControl_CurrRunInfoEventPs != null)
|
||||
{
|
||||
GlobalEventInterface.E_ModelControl_CurrRunInfoEventPs.Invoke(index);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="deviceSignalSimCode"></param>
|
||||
public virtual void PlayDeviceSignalSimTaskEnd(string deviceSignalSimCode)
|
||||
{
|
||||
if (GlobalEventInterface.E_PlayDeviceSignalSimTaskEnd != null)
|
||||
{
|
||||
GlobalEventInterface.E_PlayDeviceSignalSimTaskEnd.Invoke(deviceSignalSimCode);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public virtual void OpenFileModel()
|
||||
{
|
||||
if (GlobalEventInterface.E_OpenFileModel != null)
|
||||
{
|
||||
GlobalEventInterface.E_OpenFileModel.Invoke();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user