using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace TFT_MelsecMcNet
{
///
/// 异步消息的对象
///
internal class StateOneBase
{
///
/// 本次接收或是发送的数据长度 默认
///
public int DataLength { get; set; } = 32;
///
/// 已经处理的字节长度
///
public int AlreadyDealLength { get; set; }
///
/// 操作完成的信号
///
public ManualResetEvent WaitDone { get; set; }
///
/// 缓存器
///
public byte[] Buffer { get; set; }
///
/// 是否发生了错误
///
public bool IsError { get; set; }
///
/// 错误消息
///
public string ErrerMsg { get; set; }
}
}