Пример #1
0
 public DeviceInstallAdd(BplIdentity deviceId, SoftwareUpdateType installType, BplIdentity installId) {
    DeviceId = deviceId;
    InstallType = installType;
    InstallId = installId;
 }
Пример #2
0
 /// <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;
 }
Пример #3
0
      public FrmSelectInstall(BplIdentity platformId, SoftwareUpdateType type) {
         InitializeComponent();

         _platformId = platformId;
         _type = type;
      }