22 lines
631 B
C#
22 lines
631 B
C#
namespace Common.Hardware.WaterMeter.eRegister.Features
|
|
{
|
|
using System;
|
|
|
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
|
public class PamAttribute : Attribute
|
|
{
|
|
public PamAttribute(AuthLevel authLevel, bool isSingleCmd = false, bool onlyProductionMode = false)
|
|
{
|
|
this.AuthLevel = authLevel;
|
|
this.IsSingleCmd = isSingleCmd;
|
|
this.OnlyProductionMode = onlyProductionMode;
|
|
}
|
|
|
|
public AuthLevel AuthLevel { get; }
|
|
|
|
public bool IsSingleCmd { get; }
|
|
|
|
public bool OnlyProductionMode { get; }
|
|
}
|
|
}
|