Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

The Plant data type contains the basic details of a plant, namely the PlantId and PlantName. PropertyPlant and BuildingPlant data types inherit from Plant type. PropertyPlant and BuildingPlant data types 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 that if a plant is not connected to either a Building or a Property, a Plant instance will be returned.

 

PropertyTypeDescription
PlantIdlong Plant Id
PlantNameString Name of the plant
CreatedTimeDateTimeTime and date when the plant was created
  • No labels