The Plant data type contains the basic details of a plant, namely the PlantId and PlantName. PropertyPlant and BuildingPlant data types inherit details from the Plant type and contain details specific to Properties and Buildings respectively.
Web service methods that deal with properties will return PropertyPlant instances, and web methods that deal with buildings will return BuildingPlant instances. Methods such as GetAllPlants that deal with both types of plants will return a list of Plant type objects, and the user will have to cast the object to a PropertyPlant or BuildingPlant depending on the instance type.
Note: If a plant is not connected to either a Building or a Property, a Plant instance is returned.
|PlantName||String||Name of the plant|
|CreatedTime||DateTime||Time and date when the plant was created|
|IsLicensed||bool||Is this Plant authorized to be used by the user according to his license|