Exemple #1
0
 public RangeConfig(string iedType, string lnType)
 {
     this.name       = "RangeConfig";
     this.bTypeEnum  = tBasicTypeEnum.Struct;
     this.id         = this.type = lnType + "RangeConfig";
     this.iedType    = iedType;
     this.hhLimField = new hhLim(iedType, this.id);
     this.hLimField  = new hLim(iedType, this.id);
     this.lLimField  = new lLim(iedType, this.id);
     this.minField   = new min(iedType, this.id);
     this.maxField   = new max(iedType, this.id);
     this.llLimField = new llLim(iedType, this.id);
 }
Exemple #2
0
        public void min_1_2_3()
        {
            min target = new min();        // TODO: Initialize to an appropriate value

            object[] args = new string[3]; // TODO: Initialize to an appropriate value

            args[0] = "1";
            args[1] = "2";
            args[2] = "3";


            object expected = "1"; // TODO: Initialize to an appropriate value
            object actual   = target.run(args);

            actual = target.run(args);
            Assert.AreEqual(expected, actual);
        }
 public ValueRangeInt(int min, int max) => set(min, max);
Exemple #4
0
 Unsafe.Add(ref targetLines, 2)  = new LineInstance(min, v100, packedColor, packedBackgroundColor);
Exemple #5
0
                                 select(min, max)
 ).AsEnumerable();
Exemple #6
0
 return(new Result(average, median, min, max));
Exemple #7
0
 BBox = new BoundingBox(min, BBox.Maximum);
 ri = new RectInt(min, size);
Exemple #9
0
 public ValueRange(float min, float max) => set(min, max);
Exemple #10
0
 pow((pow(max, exp + 1) - pow(min, exp + 1)) * pow(random.NextFloat(), randexp) + pow(min, exp + 1), 1 / (exp + 1));
Exemple #11
0
 select(min, max, letter, password)).End();
Exemple #12
0
 range = new Interval(min, max);
 GetProducts(min, max)
 .GroupBy(x => x.Item1 * x.Item2)
 var(min, max) = portSelectionRange;
Exemple #15
0
 public ToggleMinMaxAttribute(T value      = default, T min = default, T max = default, bool enabled = true) => InitValues(enabled, value, min, max);
 : base(context.Document.OriginalQuery !, NUMBER, BadValueMessage(node, length, min, max), node)