Apostrophe Systems EPC Generator 2.0

EPCBase Multiplication Operator 

* operator allows the multiplication of an integer and EPC Number

public static EPCBase operator *(
   EPCBase epc,
   int val
);

Parameters

epc
Left Hand Side EPC Number
val
Value to multiply by

Return Value

A new EPC Number with he incremented Serial Number

Example

SSCC sscc = new SSCC(96);
//provide SSCC-18, Filter, and Serial Number 1
sscc1.Encode("100653005555555558",3,1);
//Add 1 to sscc1 for a new SSCC with a serial number of 2
sscc1*=2;

See Also

EPCBase Class | Apostrophe.EPC Namespace