コード例 #1
0
ファイル: DeviceInstallProcs.cs プロジェクト: borkaborka/gmit
 public DeviceInstallAdd(BplIdentity deviceId, SoftwareUpdateType installType, BplIdentity installId) {
    DeviceId = deviceId;
    InstallType = installType;
    InstallId = installId;
 }
コード例 #2
0
ファイル: PeriodicUpdate.cs プロジェクト: borkaborka/gmit
 /// <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
ファイル: FrmSelectInstall.cs プロジェクト: borkaborka/gmit
      public FrmSelectInstall(BplIdentity platformId, SoftwareUpdateType type) {
         InitializeComponent();

         _platformId = platformId;
         _type = type;
      }