using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace MECF.Framework.RT.Core.IoProviders.Siemens.Net.StateOne
{
///
/// 异步消息的对象
///
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; }
}
}