public void Deserialize(ref ReadOnlySpan <byte> buffer) { var type = (Pv2ParamTypeEnum)BinSerialize.ReadPackedUnsignedInteger(ref buffer); Value = Pv2ParamInterface.CreateValue(type); Value.Deserialize(ref buffer); }
public Pv2ParamValueAndTypePair(Pv2ParamType type, Pv2ParamValue value, uint index) { Index = index; Type = type; Value = value; }
public override void CopyFrom(Pv2ParamValue data) { RawValue = Pv2ParamInterface.CheckValueTypeAndCast <Pv2BoolParamValue>(data).RawValue; }
public abstract void CopyFrom(Pv2ParamValue data);
public Pv2ParamValueItem(Pv2ParamValue value) { Value = value; }
public override string ConvertToString(Pv2ParamValue value) { return(FormatString.FormatWith(GetValue(value))); }
public override string ConvertToString(Pv2ParamValue value) { return(GetValue(value)); }
public override void ValidateValue(Pv2ParamValue data) { Validate(GetValue(data)); }
public override void CopyFrom(Pv2ParamValue data) { }
public override string ConvertToString(Pv2ParamValue value) { return("UNKNOWN"); }
public override void ValidateValue(Pv2ParamValue data) { }
protected override void InternalWriteToConfig(IConfiguration config, string configSuffix, Pv2ParamValue value) { }