XKRS2023Frm/XKRS.Common.Model/Helper/AttributeHelper.cs

26 lines
603 B
C#
Raw Normal View History

2023-03-24 09:58:42 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static XKRS.Common.Model.Helper.EnumHelper;
namespace XKRS.Common.Model.Helper
{
public class AttributeHelper:Attribute
{
}
public class ProcessAttribute : Attribute
{
public string ProcessCode { get; set; }
public DeviceAttributeType AttrType { get; set; }
public ProcessAttribute(string stationCode,DeviceAttributeType attrType)
{
ProcessCode = stationCode;
AttrType = attrType;
}
}
}