Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ProfilePack(
     string name,
     InterfaceInfo interfaceInfo,
     ProfileType profileType,
     string profileXml,
     int position)
 {
     this.Name        = name;
     this.Interface   = interfaceInfo;
     this.ProfileType = profileType;
     Document         = new ProfileDocument(profileXml);
     this.Position    = position;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public ProfilePack(
     string name,
     InterfaceInfo interfaceInfo,
     ProfileType profileType,
     string profileXml,
     int position,
     bool isRadioOn,
     int signalQuality,
     bool isConnected)
 {
     this.Name          = name;
     this.Interface     = interfaceInfo;
     this.ProfileType   = profileType;
     Document           = new ProfileDocument(profileXml);
     this.Position      = position;
     this.IsRadioOn     = isRadioOn;
     this.SignalQuality = signalQuality;
     this.IsConnected   = isConnected;
 }