예제 #1
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="type"></param>
 public ArrayValue(VHDL.type.UnconstrainedArray type, Dictionary <int[], AbstractValue> dictionary)
     : base(ModellingType.CreateModellingType(type, new ResolvedDiscreteRange[] { ResolvedDiscreteRange.FormIntegerIndexes(dictionary.Count) }))
 {
     _values = dictionary;
 }
예제 #2
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="type"></param>
 public ArrayValue(VHDL.type.UnconstrainedArray type, ResolvedDiscreteRange range)
     : base(ModellingType.CreateModellingType(type, new ResolvedDiscreteRange[] { range }))
 {
     _values = CreateDictionary(range);
 }
예제 #3
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="type"></param>
 public ArrayValue(VHDL.type.UnconstrainedArray type, IList <AbstractValue> _value)
     : base(ModellingType.CreateModellingType(type, new ResolvedDiscreteRange[] { ResolvedDiscreteRange.FormIntegerIndexes(_value.Count) }))
 {
     _values = CreateDictionary(_value);
 }