public SPS_ConfigDL Decode(BitArrayInputStream input) { SPS_ConfigDL gdl = new SPS_ConfigDL(); gdl.InitDefaults(); switch (input.ReadBits(1)) { case 0: gdl.release=new object(); return gdl; case 1: gdl.setup = setup_Type.PerDecoder.Instance.Decode(input); return gdl; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public SPS_ConfigDL Decode(BitArrayInputStream input) { SPS_ConfigDL gdl = new SPS_ConfigDL(); gdl.InitDefaults(); switch (input.ReadBits(1)) { case 0: gdl.release = new object(); return(gdl); case 1: gdl.setup = setup_Type.PerDecoder.Instance.Decode(input); return(gdl); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }