public ConnectionViewModel(int ComPortNum) { modelCOM = new ConnectionCOMModel(); modelCOM.ComPortNumber = ComPortNum; }
public ConnectionViewModel() { modelCOM = new ConnectionCOMModel(3); modelIP = new ConnectionIPModel(); }