51 lines
1.3 KiB
C#
51 lines
1.3 KiB
C#
using HexcalMC.Base;
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.Windows.Forms;
|
|
using static Telerik.WinControls.UI.Export.ExportSettings;
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
//
|
|
//开发说明
|
|
// V0.1 2023/04/10
|
|
//---------------------------------------
|
|
//1、初版构建
|
|
//2、调用流程: 开启TCP服务端、连接到平台轴启用—》hexcal软件连接,开启校准通讯流程—》移动至到位后反馈—》hexcal逻辑处理—》hexcal校准完成关系—》软件关闭
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
namespace HexcalMC
|
|
{
|
|
internal static class Program
|
|
{
|
|
[STAThread]
|
|
private static void Main()
|
|
{
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
DebugDfn._strStartTime = DateTime.Now.ToString("yyyy-MM-dd HH-mm-ss");
|
|
System.IO.TextWriter log = new System.IO.StreamWriter(DebugDfn.StrDebugFile);
|
|
System.Diagnostics.TextWriterTraceListener logger;
|
|
logger = new System.Diagnostics.TextWriterTraceListener(log);
|
|
Trace.Listeners.Add(logger);
|
|
MyBase.TraceWriteLine("--软件Main函数开始");
|
|
|
|
Application.Run(new MainFrom());
|
|
}
|
|
}
|
|
} |