CommunicationTypeConst.cs 990 Bytes
using System.ComponentModel.DataAnnotations;

namespace DataAcquisition.Common.Enums
{
    /// <summary>
    /// 通讯方式
    /// </summary>
    public enum CommunicationTypeConst
    {
        /// <summary>
        /// 无
        /// </summary>
        [Display(Name = "")]
        None = 0,

        /// <summary>
        /// Kuka 机器人代理
        /// </summary>
        [Display(Name = "Kuka 机器人代理")]
        KukaVarProxy,

        /// <summary>
        /// Tcp 客户端
        /// </summary>
        [Display(Name = "Tcp 客户端")]
        TcpClient,

        /// <summary>
        /// Tcp 服务端
        /// </summary>
        [Display(Name = "Tcp 服务端")]
        TcpServer,

        [Display(Name = "KukaTcp")]
        KukaTcp,

        /// <summary>
        /// 西门子S7通信
        /// </summary>
        [Display(Name = "S1500")]
        Siemens_S1200,

        [Display(Name = "S1200")]
        Siemens_S1500,

        ModbusTcp,
    }
}