using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Misc { /// /// PLC 寄存器用于报警 /// public class IsErrorAttribute : Attribute { /// /// 这个属性用于报警 /// public IsErrorAttribute() //(bool offIsError = false) { //OffIsError = offIsError; } /// /// 属性的值为false, 为报警状态 /// //public bool OffIsError { get; private set; } } }