using Bro.Common.Helper;
using System;
using System.Collections.Generic;
using static Bro.Common.Helper.EnumHelper;
namespace Bro.Common.Model
{
public class IOItem : IComplexDisplay
{
///
/// IO点编号
///
public int IONum { get; set; }
///
/// IO点的值
///
public int Value { get; set; }
///
/// IO点是in还是out
///
public IOModel Model { get; set; }
public string GetDisplayText()
{
return $"{Model.GetEnumDescription()},编号{IONum},IO点的值{Value}";
}
}
}