public static void Regist() { ProtocolFactory <TestProtocol> .RegistFactory((ushort)ProtocolEnum.Test); }