/// <summary> /// Creates a new <see cref="DataCell"/>. /// </summary> /// <param name="parent">The reference to parent <see cref="IDataFrame"/> of this <see cref="DataCell"/>.</param> /// <param name="configurationCell">The <see cref="IConfigurationCell"/> associated with this <see cref="DataCell"/>.</param> public DataCell(IDataFrame parent, IConfigurationCell configurationCell) : base(parent, configurationCell, Common.MaximumPhasorValues, Common.MaximumAnalogValues, Common.MaximumDigitalValues) { // Define new parsing state which defines constructors for key data values State = new DataCellParsingState( configurationCell, Ieee1344.PhasorValue.CreateNewValue, Ieee1344.FrequencyValue.CreateNewValue, null, // IEEE 1344 doesn't define analogs Ieee1344.DigitalValue.CreateNewValue); }
/// <summary> /// Creates a new <see cref="DataCell"/>. /// </summary> /// <param name="parent">The reference to parent <see cref="IDataFrame"/> of this <see cref="DataCell"/>.</param> /// <param name="configurationCell">The <see cref="IConfigurationCell"/> associated with this <see cref="DataCell"/>.</param> public DataCell(IDataFrame parent, IConfigurationCell configurationCell) : base(parent, configurationCell, 0x0000, Common.MaximumPhasorValues, Common.MaximumAnalogValues, Common.MaximumDigitalValues) { // Define new parsing state which defines constructors for key data values State = new DataCellParsingState( configurationCell, PhasorValue.CreateNewValue, IEEEC37_118.FrequencyValue.CreateNewValue, AnalogValue.CreateNewValue, DigitalValue.CreateNewValue); }