public DeviceInstallAdd(BplIdentity deviceId, SoftwareUpdateType installType, BplIdentity installId) { DeviceId = deviceId; InstallType = installType; InstallId = installId; }
/// <summary>Helper method to return a requestor version of a specified update type.</summary> /// <returns>Requestor version, or null in case no requestor version of the given type exists in this message.</returns> public Version GetRequestorVersion(SoftwareUpdateType updateType) { if (ClientVersions == null) return null; var rv = ClientVersions.FirstOrDefault(suv => suv.UpdateType == updateType); return (rv != null) ? rv.Version : null; }
public FrmSelectInstall(BplIdentity platformId, SoftwareUpdateType type) { InitializeComponent(); _platformId = platformId; _type = type; }