예제 #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;
 }
예제 #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;
 }