Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 . 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 : If a plant is not connected to either a Building or a Property, a Plant instance will be is returned.

 


PropertyTypeDescription
PlantIdlong Long Plant Id
PlantNameString Name of the plant
CreatedTimeDateTimeTime and date when the plant was created
IsLicensedboolIs this Plant authorized to be used by the user according to his license