Apostrophe Systems EPC Generator 2.0

EPCBase Increment Operator 

++ operator allows the EPC Numbers serial number to be incremented by 1

public static EPCBase operator ++(
   EPCBase epc
);

Parameters

epc
EPC Number to increment

Return Value

The supplied EPC Number with an incremented Serail Number

Example

SSCC sscc1 = new SSCC(96);
//provide SSCC-18, Filter, and Serial Number  and 1
sscc1.Encode("100653005555555558",3,1);
//Go through an increment the SSCC
for(int i=1;i<=5;i++)
{
  sscc++;
  Console.Write(sscc.ToString());
}

See Also

EPCBase Class | Apostrophe.EPC Namespace