/// <inheritdoc/> public override void Assign(BarcodeBase source) { base.Assign(source); LinearBarcodeBase src = source as LinearBarcodeBase; WideBarRatio = src.WideBarRatio; CalcCheckSum = src.CalcCheckSum; }
internal override void Serialize(FRWriter writer, string prefix, BarcodeBase diff) { base.Serialize(writer, prefix, diff); LinearBarcodeBase c = diff as LinearBarcodeBase; if (c == null || WideBarRatio != c.WideBarRatio) { writer.WriteValue(prefix + "WideBarRatio", WideBarRatio); } if (c == null || CalcCheckSum != c.CalcCheckSum) { writer.WriteBool(prefix + "CalcCheckSum", CalcCheckSum); } }