示例#1
0
 public RemoteSystem(RemoteSystem info)
 {
     this.Name = info.GetName ();
     this.Host = info.GetHost ();
     this.GatewayName = info.GetGatewayName ();
     this.IsGateway = info.GetIsGateway ();
     this.User = info.GetUser ();
     this.Port = info.GetPort ();
     this.Protocol = info.GetProtocol ();
     this.AuthType = info.GetAuthType ();
     this.AuthKey = info.GetAuthKey ();
 }
示例#2
0
 private void InsertSystem(RemoteSystem _system)
 {
     var connState = (_system.IsConnected () ? Connected : Disconnected);
     systemListStore.AppendValues (_system.GetName (), _system.GetHost (), connState);
 }