This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
Sic06/FrameworkLocal/RTCore/IoProviders/Siemens/Net/StateOne/AlienSession.cs

39 lines
836 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
namespace MECF.Framework.RT.Core.IoProviders.Siemens.Net.StateOne
{
/// <summary>
/// 异形客户端的异步对象
/// </summary>
public class AlienSession
{
/// <summary>
/// 实例化一个默认的参数
/// </summary>
public AlienSession()
{
IsStatusOk = true;
}
/// <summary>
/// 网络套接字
/// </summary>
public Socket Socket { get; set; }
/// <summary>
/// 唯一的标识
/// </summary>
public string DTU { get; set; }
/// <summary>
/// 指示当前的网络状态
/// </summary>
public bool IsStatusOk { get; set; }
}
}