41 lines
1.0 KiB
C#
41 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Test_Mitsubishi
|
|
{
|
|
public partial class Form1 : Form
|
|
{
|
|
public Form1()
|
|
{
|
|
InitializeComponent();
|
|
|
|
myInit();
|
|
}
|
|
|
|
private void myInit()
|
|
{
|
|
//EZNCAUTLib.DispEZNcCommunication oEZNcAutCom = null;
|
|
//oEZNcAutCom = new EZNCAUTLib.DispEZNcCommunication();
|
|
//lret = oEZNcAutCom.SetTCPIPProtocol(…);
|
|
//lret = oEZNcAutCom.Open3(…, "EZNC_LOCALHOST");
|
|
|
|
|
|
//lret = oEZNcAutCom.SetHead(…);
|
|
//lret = oEZNcAutCom.Position_GetMachinePosition(…);
|
|
//lret = oEZNcAutCom.Position_GetCurrentPosition(…);
|
|
//lret = oEZNcAutCom.Position GetWorkPosition(…);
|
|
|
|
|
|
//lret = oEZNcAutCom.Close(…);
|
|
//oEZNcAutCom = null;
|
|
}
|
|
}
|
|
}
|