protected string GetSymbols(string value, int length) { if (string.IsNullOrEmpty(value)) { return(string.Empty); } if (this.Checksum) { value += (string)(object)Product1D.GetChecksum(value); } return(value.PadLeft(length, Product1D.Padding)); }
private static char GetChecksum(string value) { return(Product1D.GetChecksum(value, 3, 1, 10)); }