/// <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; }
/// <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; }