Apostrophe Systems EPC Generator 2.0

EPCBase Addition Operator 

+ operator allows the addition of an integer to an EPC Number

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

Parameters

epc
Left Hand Side EPC Number
val
Value to add by

Return Value

A new SSCC 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+=1;

See Also

EPCBase Class | Apostrophe.EPC Namespace | EPCBaseAddition Operator Overload List