Files
LM-Middleware/HexcalMC/Program.cs
T

55 lines
1.7 KiB
C#

using HexcalMC.Base;
using System;
using System.Diagnostics;
using System.Windows.Forms;
using static Telerik.WinControls.UI.Export.ExportSettings;
////////////////////////////////////////////////////////////////////////////////////////////////////
//
//
//开发说明
// V0.1 2024/03/1
//---------------------------------------
//1、初版构建
//2、调用流程: 开启TCP服务端、连接到平台轴启用—》hexcal软件连接,开启校准通讯流程—》移动至到位后反馈—》hexcal逻辑处理—》hexcal校准完成关系—》软件关闭
//
// V0.2 2024/03/7
//---------------------------------------
//1、取消上电自动连接
//2、优化运动窗体间传递 运动平台对象
//3、增加平台位置动态显示
//4、修复运动到位判断逻辑
//5、增加演示模式按钮
//
//
//6、点击停止报错,运动测试界面问题?
//7、发现交互过程中,需要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());
}
}
}