Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/30/12 17:39:27 (13 years ago)
Author:
spimming
Message:

#1680:

  • ChangeInstanceCount method added
  • Deployment: added properties to indicate modification and the new instance count
  • Textbox validation
  • Form resized
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.CloudManager/3.3/Model/Deployment.cs

    r7402 r7429  
    3838    public List<Role> RoleList { get; set; }
    3939    public Subscription Subscription { get; set; }
     40    public bool Modified { get; set; }
     41    public int NewInstanceCount { get; set; }
    4042
    4143    public Deployment() {
    42 
     44      this.Modified = false;
    4345    }
    4446
     
    5658      this.RoleList = new List<Role>(original.RoleList);
    5759      this.Subscription = cloner.Clone(original.Subscription);
     60      this.Modified = original.Modified;
     61      this.NewInstanceCount = original.NewInstanceCount;
    5862
    5963    }
     
    9397      this.RoleList = deployment.RoleList;
    9498      this.Subscription = deployment.Subscription;
     99      //this.Modified = deployment.Modified;
     100      //this.NewInstanceCount = deployment.NewInstanceCount;
    95101    }
    96102  }
Note: See TracChangeset for help on using the changeset viewer.