Class AssetGroup
Represents a collection of assets (a Portfolio)
Implements
Inherited Members
Namespace: IAI.DT.DataModel.Production
Assembly: IAI.DT.DataModel.dll
Syntax
public class AssetGroup : DatabaseItem, IDataItem
Constructors
AssetGroup()
Constructor required by generics.
Declaration
public AssetGroup()
AssetGroup(string, string)
Constructor used to create a new group
Declaration
public AssetGroup(string id, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | The unique ID for the group |
| string | name | The friendly name of the new group |
Properties
GroupSummaryRags
The overall rag scores for the asset group
Declaration
public SummaryRags? GroupSummaryRags { get; set; }
Property Value
| Type | Description |
|---|---|
| SummaryRags |
Remarks
Calculated via the tenant profile GroupRiskRules, these represent the risks associated with the group as a whole.
Name
The name of the Asset Group used for display.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UnGroupedGroupId
The unique identifier of the well known groups for assets with no group.
Declaration
public static string UnGroupedGroupId { get; }
Property Value
| Type | Description |
|---|---|
| string |
UnGroupedGroupName
The name of the well known groups for assets with no group.
Declaration
public static string UnGroupedGroupName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ClearGroupData()
Removes all data from the group
Declaration
public void ClearGroupData()
NormaliseValueHistory()
Normalises the value history so that there is only a single saved value per month.
Declaration
public void NormaliseValueHistory()