/// <summary> /// Konstruktor Method with most arguments. Every Constructor should call this with default values /// </summary> /// <param name="pHwIfc">Hardwareinterface</param> /// <param name="vProtocol">Verwendetes Protokoll</param> private void construct(IDevComHardwareInterface pHwIfc, DevComProtocol vProtocol) { hwInterface = pHwIfc; switch(vProtocol) { case DevComProtocol.M3S_Version1: protocol = new M3S_V1_Handler(); break; case DevComProtocol.M3S_Version2: protocol = new M3S_V2_Handler(); break; } init_members(); }