package uk.co.mmscomputing.device.capi.parameter; import uk.co.mmscomputing.device.capi.*; public class NCPI implements CapiConstants{ public int protocol; public NCPI(){} static public class Transparent extends NCPI{// protocol 0 public Transparent(){} } static public class T90NL extends NCPI{ // protocol 1 public T90NL(){} } static public class ISO8082 extends NCPI{ // protocol 2 public int flags; public int group; public int channel; public byte[] contents; public ISO8082(Rider r){ try{ flags = r.read(); group = r.read(); channel = r.read(); contents = new byte[r.available()]; for(int i=0;i