示例#1
0
文件: Value.cs 项目: DeepSeeBee/Mvi
 public CInt64Declaration(CValueEnum aValueEnum,
                          Guid aGuid,
                          bool aIsPersistent,
                          CUnitEnum aUnitEnum,
                          Int64 aDefaultValue,
                          Int64 aMin,
                          Int64 aMax,
                          Int64 aSmallChange,
                          Int64 aLargeChange)
     :
     base(aValueEnum, aGuid, aIsPersistent, CGuiEnum.IncrementableTextBox, aUnitEnum, aDefaultValue, aMin, aMax, aSmallChange, aLargeChange)
 {
 }
示例#2
0
文件: Value.cs 项目: DeepSeeBee/Mvi
 public CDoubleDeclaration(CValueEnum aValueEnum,
                           Guid aGuid,
                           bool aIsPersistent,
                           CGuiEnum aGuiEnum,
                           CUnitEnum aUnitEnum,
                           double aDefaultValue,
                           double aMin,
                           double aMax,
                           double aSmallChange,
                           double aLargeChange,
                           int aDigits
                           ) : base(aValueEnum, aGuid, aIsPersistent, aGuiEnum, aUnitEnum, aDefaultValue, aMin, aMax, aSmallChange, aLargeChange)
 {
     this.Digits = aDigits;
 }
示例#3
0
文件: Value.cs 项目: DeepSeeBee/Mvi
 internal CValueDeclaration(CValueEnum aValueEnum, Guid aGuid, bool aIsPersistent, CGuiEnum aGuiEnum, CUnitEnum aUnitEnum, T aDefaultValue) : base(aValueEnum, aGuid, aIsPersistent, aGuiEnum, aUnitEnum)
 {
     this.DefaultValue = aDefaultValue;
 }
示例#4
0
文件: Value.cs 项目: DeepSeeBee/Mvi
 internal CNumericValueDeclaration(CValueEnum aValueEnum, Guid aGuid, bool aIsPersistent, CGuiEnum aGuiEnum, CUnitEnum aUnitEnum, T aDefaultValue, T aMin, T aMax, T aSmallChange, T aLargeChange)
     : base(aValueEnum, aGuid, aIsPersistent, aGuiEnum, aUnitEnum, aDefaultValue)
 {
     this.Minimum     = aMin;
     this.Maximum     = aMax;
     this.LargeChange = aLargeChange;
     this.SmallChange = aSmallChange;
 }
示例#5
0
文件: Value.cs 项目: DeepSeeBee/Mvi
 public CValueDeclaration(CValueEnum aValueEnum, Guid aGuid, bool aIsPersistent, CGuiEnum aGuiEnum, CUnitEnum aUnitEnum)
 {
     this.ValueEnum    = aValueEnum;
     this.Guid         = aGuid;
     this.GuiEnum      = aGuiEnum;
     this.UnitEnum     = aUnitEnum;
     this.Abbreviation = this.ValueEnum.GetCustomAttributeIsDefined <CValueAbbreviationAttribute>()
                       ? this.ValueEnum.GetCustomAttribute <CValueAbbreviationAttribute>().Abbreviation
                       : string.Empty;
     this.ShotEnum = this.ValueEnum.GetCustomAttributeIsDefined <CValueShotEnumAttribute>()
                   ? this.ValueEnum.GetCustomAttribute <CValueShotEnumAttribute>().ShotEnum
                   : default(CShotEnum?)
     ;
 }