IgnoreChangingAttribute.cs 484 B

1234567891011121314151617181920212223
  1. using System;
  2. namespace WCS.Protocol.SX
  3. {
  4. /// <summary>
  5. /// 忽略变更
  6. /// </summary>
  7. [AttributeUsage(AttributeTargets.Property)]
  8. public class IgnoreChangingAttribute : Attribute
  9. {
  10. /// <summary>
  11. /// 忽略变更
  12. /// </summary>
  13. public IgnoreChangingAttribute()
  14. {
  15. }
  16. /// <summary>
  17. /// 忽略变更的值范围
  18. /// </summary>
  19. public long IgnoreValueRange { get; set; }
  20. }
  21. }