public ConnectionViewModel(string IpAddress, int Port, string UserName, string Password) { modelIP = new ConnectionIPModel(); modelIP.IpAddress = IpAddress; modelIP.Port = Port; modelIP.UserName = UserName; modelIP.Password = Password; }
public ConnectionViewModel() { modelCOM = new ConnectionCOMModel(3); modelIP = new ConnectionIPModel(); }