You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.2 KiB

using Module.SecsApi.Tcp;
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;
using Module.Common;
namespace ChipGlueDeviceManager
{
public partial class FrmSendMsg : Form
{
public FrmSendMsg()
{
InitializeComponent();
}
/// <summary>
/// 发送终端消息
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void BtnSendMsg_Click(object sender, EventArgs e)
{
CmnHsmsBase.MessageToHost = rtxtTeminalMsg.Text;
CmnHsmsBase.MessageID = CmnHsmsBase.MessageID + 1;
// string msgContent = rtxtTeminalMsg.Text;
//CmnHsmsBase._TcpHsmsTool.SendTmlMsg(msgContent);
}
/// <summary>
/// 关闭窗体
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void BtnCloseForm_Click(object sender, EventArgs e)
{
this.Close();
}
}
}