Repository navigation
DiGi.GIS.WebAPI.UI.ViewModels
Represents a view model for an administrative areal in 2D, providing access to its references and associated data.
public class AdministrativeAreal2DViewModelInheritance System.Object → AdministrativeAreal2DViewModel
Initializes a new instance of the AdministrativeAreal2DViewModel class.
public AdministrativeAreal2DViewModel();AdministrativeAreal2DViewModel(AdministrativeAreal2DReference, AdministrativeAreal2D, AdministrativeAreal2DReferencePath, IEnumerable<AdministrativeAreal2DReference>) Constructor
Initializes a new instance of the AdministrativeAreal2DViewModel class with specified administrative areal data and references.
public AdministrativeAreal2DViewModel(DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference? administrativeAreal2DReference, DiGi.GIS.Classes.AdministrativeAreal2D? administrativeAreal2D, DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath? administrativeAreal2DReferencePath, System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>? administrativeAreal2DReferences);administrativeAreal2DReference DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference
The reference to the administrative areal 2D.
administrativeAreal2D DiGi.GIS.Classes.AdministrativeAreal2D
The administrative areal 2D object.
administrativeAreal2DReferencePath DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath
The path reference for the administrative areal 2D.
administrativeAreal2DReferences System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>
A collection of references to administrative areals 2D.
Gets the administrative areal 2D object.
public DiGi.GIS.Classes.AdministrativeAreal2D? AdministrativeAreal2D { get; }DiGi.GIS.Classes.AdministrativeAreal2D
Gets the reference to the administrative areal 2D.
public DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference? AdministrativeAreal2DReference { get; }DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference
Gets the path reference for the administrative areal 2D.
public DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath? AdministrativeAreal2DReferencePath { get; }DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath
Gets a list of references to administrative areals 2D.
public System.Collections.Generic.List<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>? AdministrativeAreal2DReferences { get; }System.Collections.Generic.List<DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReference>
Represents a view model that provides combined access to Building2DReference and DiGi.GIS.Interfaces.IOccupancyData.
public class Building2DOccupancyDataViewModelInheritance System.Object → Building2DOccupancyDataViewModel
Initializes a new instance of the Building2DOccupancyDataViewModel class.
public Building2DOccupancyDataViewModel();Initializes a new instance of the Building2DOccupancyDataViewModel class.
public Building2DOccupancyDataViewModel(DiGi.GIS.PostgreSQL.Classes.Building2DReference? building2DReference, DiGi.GIS.Interfaces.IOccupancyData? occupancyData);building2DReference DiGi.GIS.PostgreSQL.Classes.Building2DReference
The DiGi.GIS.PostgreSQL.Classes.Building2DReference reference to the 2D building, or null.
occupancyData DiGi.GIS.Interfaces.IOccupancyData
The DiGi.GIS.Interfaces.IOccupancyData containing occupancy data, or null.
Gets the reference to the 2D building associated with this occupancy data view.
public DiGi.GIS.PostgreSQL.Classes.Building2DReference? Building2DReference { get; }DiGi.GIS.PostgreSQL.Classes.Building2DReference
Gets the occupancy data associated with this building 2D occupancy data view.
public DiGi.GIS.Interfaces.IOccupancyData? OccupancyData { get; }DiGi.GIS.Interfaces.IOccupancyData
Represents a view model containing a collection of 2D building references.
public class Building2DReferencesViewModelInheritance System.Object → Building2DReferencesViewModel
Initializes a new instance of the Building2DReferencesViewModel class.
public Building2DReferencesViewModel();Initializes a new instance of the Building2DReferencesViewModel class with a specified collection of 2D building references.
public Building2DReferencesViewModel(System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.Building2DReference>? building2DReferences);building2DReferences System.Collections.Generic.IEnumerable<DiGi.GIS.PostgreSQL.Classes.Building2DReference>
The collection of DiGi.GIS.PostgreSQL.Classes.Building2DReference objects to initialize the view model with.
Gets the list of 2D building references associated with this view.
public System.Collections.Generic.List<DiGi.GIS.PostgreSQL.Classes.Building2DReference>? Building2DReferences { get; }System.Collections.Generic.List<DiGi.GIS.PostgreSQL.Classes.Building2DReference>
Represents a 2D view model of a building, providing access to its reference, spatial data, and administrative areal path.
public class Building2DViewModelInheritance System.Object → Building2DViewModel
Initializes a new instance of the Building2DViewModel class.
public Building2DViewModel();Building2DViewModel(Building2DReference, Building2D, AdministrativeAreal2DReferencePath) Constructor
Initializes a new instance of the Building2DViewModel class.
public Building2DViewModel(DiGi.GIS.PostgreSQL.Classes.Building2DReference? building2DReference, DiGi.GIS.Classes.Building2D? building2D, DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath? administrativeAreal2DReferencePath);building2DReference DiGi.GIS.PostgreSQL.Classes.Building2DReference
The DiGi.GIS.PostgreSQL.Classes.Building2DReference for the building.
building2D DiGi.GIS.Classes.Building2D
The Building2D associated with this view model.
administrativeAreal2DReferencePath DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath
The DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath for the building.
Gets the collection of administrative 2D area references for this building view.
public DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath? AdministrativeAreal2DReferencePath { get; }DiGi.GIS.PostgreSQL.Classes.AdministrativeAreal2DReferencePath
Gets the 2D building associated with this view.
public DiGi.GIS.Classes.Building2D? Building2D { get; }Gets the reference to the 2D building associated with this view.
public DiGi.GIS.PostgreSQL.Classes.Building2DReference? Building2DReference { get; }DiGi.GIS.PostgreSQL.Classes.Building2DReference
Represents a view model for the communication 3D scene view: the buildings of the analyzed circular area (streamed as a binary glTF payload) plus the input parameters required to send the communication calculation request back to the server.
public class CommunicationSceneViewModelInheritance System.Object → CommunicationSceneViewModel
Initializes a new instance of the CommunicationSceneViewModel class.
public CommunicationSceneViewModel(string? title, string? gLBUrl, double centerX, double centerY, double radius, double storeyHeight);title System.String
The title displayed above the viewer.
gLBUrl System.String
The application relative URL of the binary glTF (.glb) endpoint.
centerX System.Double
The X coordinate of the center of the analyzed circular area.
centerY System.Double
The Y coordinate of the center of the analyzed circular area.
radius System.Double
The radius of the analyzed circular area in meters.
storeyHeight System.Double
The storey height in meters used for the building extrusions.
Gets or sets the application relative URL of the communication calculation endpoint used by the 3D scene.
public string? CalculateUrl { get; set; }Gets the X coordinate of the center of the analyzed circular area.
public double CenterX { get; }Gets the Y coordinate of the center of the analyzed circular area.
public double CenterY { get; }Gets the application relative URL of the binary glTF (.glb) endpoint.
public string? GLBUrl { get; }Gets the radius of the analyzed circular area in meters.
public double Radius { get; }Gets the storey height in meters used for the building extrusions.
public double StoreyHeight { get; }Gets the title displayed above the viewer.
public string? Title { get; }Represents a view model for an EPW file, providing access to the underlying weather data and structure.
public class EPWFileViewModelInheritance System.Object → EPWFileViewModel
Initializes a new instance of the EPWFileViewModel class.
public EPWFileViewModel();Initializes a new instance of the EPWFileViewModel class.
public EPWFileViewModel(DiGi.EPW.Classes.EPWFile? epwFile);epwFile DiGi.EPW.Classes.EPWFile
The EPW file to be associated with this view model.
Gets the EPW file associated with the EPW file view.
public DiGi.EPW.Classes.EPWFile? EPWFile { get; }Represents a view model for rendering a GLTFScene in the 3D glTF viewer.
Two delivery modes are supported: streamed (the view carries only GLBUrl and the viewer fetches the binary glTF payload, whose scene extras are fully self-describing) and embedded (the scene JSON and the base64 encoded payload are inlined in the page).
public class GLTFSceneViewModelInheritance System.Object → GLTFSceneViewModel
Initializes a new instance of the GLTFSceneViewModel class.
public GLTFSceneViewModel();Initializes a new instance of the GLTFSceneViewModel class for embedded delivery.
public GLTFSceneViewModel(DiGi.GLTF.Classes.GLTFScene? gLTFScene, string? gLTFSceneJson, string? gLBBase64, string? title);gLTFScene DiGi.GLTF.Classes.GLTFScene
The GLTFScene to be rendered.
gLTFSceneJson System.String
The JSON representation of the scene used by the viewer for lights, camera and reference point configuration.
gLBBase64 System.String
The base64 encoded binary glTF (.glb) payload rendered by the viewer.
title System.String
The title displayed above the viewer.
Initializes a new instance of the GLTFSceneViewModel class for streamed delivery: the viewer fetches the binary glTF payload from gLBUrl and reads the scene configuration from its extras.
public GLTFSceneViewModel(string? title, string? gLBUrl);title System.String
The title displayed above the viewer.
gLBUrl System.String
The application relative URL of the binary glTF (.glb) endpoint.
Gets the base64 encoded binary glTF (.glb) payload rendered by the viewer (embedded delivery only).
public string? GLBBase64 { get; }Gets the application relative URL of the binary glTF (.glb) endpoint (streamed delivery only).
public string? GLBUrl { get; }Gets the GLTFScene to be rendered (embedded delivery only).
public DiGi.GLTF.Classes.GLTFScene? GLTFScene { get; }Gets the JSON representation of the scene used by the viewer for lights, camera and reference point configuration (embedded delivery only).
public string? GLTFSceneJson { get; }Gets the title displayed above the viewer.
public string? Title { get; }Represents a view model that combines orthographic data and a 2D building reference.
public class OrtoDatasViewModelInheritance System.Object → OrtoDatasViewModel
Initializes a new instance of the OrtoDatasViewModel class.
public OrtoDatasViewModel();Initializes a new instance of the OrtoDatasViewModel class with the specified building reference and orthographic data.
public OrtoDatasViewModel(DiGi.GIS.PostgreSQL.Classes.Building2DReference? building2DReference, DiGi.GIS.Classes.OrtoDatas? ortoDatas);building2DReference DiGi.GIS.PostgreSQL.Classes.Building2DReference
The reference to the 2D building.
ortoDatas DiGi.GIS.Classes.OrtoDatas
The orthographic data associated with the view model.
Gets the reference to the 2D building associated with this view.
public DiGi.GIS.PostgreSQL.Classes.Building2DReference? Building2DReference { get; }DiGi.GIS.PostgreSQL.Classes.Building2DReference
Gets the orthographic data associated with this view.
public DiGi.GIS.Classes.OrtoDatas? OrtoDatas { get; }Represents a view model of the regulated heat transfer coefficients.
public class RegulatedHeatTransferCoefficientsViewModelInheritance System.Object → RegulatedHeatTransferCoefficientsViewModel
Initializes a new instance of the RegulatedHeatTransferCoefficientsViewModel class.
public RegulatedHeatTransferCoefficientsViewModel();RegulatedHeatTransferCoefficientsViewModel(short, IRegulatedHeatTransferCoefficients, Nullable<bool>) Constructor
Initializes a new instance of the RegulatedHeatTransferCoefficientsViewModel class.
public RegulatedHeatTransferCoefficientsViewModel(short year, DiGi.Analytical.Building.HVAC.Interfaces.IRegulatedHeatTransferCoefficients? regulatedHeatTransferCoefficients, System.Nullable<bool> isResidential);year System.Int16
The year associated with the regulated heat transfer coefficients.
regulatedHeatTransferCoefficients DiGi.Analytical.Building.HVAC.Interfaces.IRegulatedHeatTransferCoefficients
The regulated heat transfer coefficients.
isResidential System.Nullable<System.Boolean>
A value indicating whether the building is residential.
Gets a value indicating whether the building is residential.
public System.Nullable<bool> IsResidential { get; }System.Nullable<System.Boolean>
Gets the regulated heat transfer coefficients.
public DiGi.Analytical.Building.HVAC.Interfaces.IRegulatedHeatTransferCoefficients? RegulatedHeatTransferCoefficients { get; }DiGi.Analytical.Building.HVAC.Interfaces.IRegulatedHeatTransferCoefficients
Gets the year associated with the regulated heat transfer coefficients.
public short Year { get; }Represents a view model for a PostgreSQL table, providing access to the underlying table data and structure.
public class TableViewModelInheritance System.Object → TableViewModel
Initializes a new instance of the TableViewModel class.
public TableViewModel();Initializes a new instance of the TableViewModel class.
public TableViewModel(DiGi.PostgreSQL.Table.Classes.Table? table);table DiGi.PostgreSQL.Table.Classes.Table
The PostgreSQL table to be associated with this view model.
Gets the table associated with the table view.
public DiGi.PostgreSQL.Table.Classes.Table? Table { get; }DiGi.PostgreSQL.Table.Classes.Table
Represents a view model that associates a 2D building reference with its corresponding year built data.
public class YearBuiltDataViewModelInheritance System.Object → YearBuiltDataViewModel
Initializes a new instance of the YearBuiltDataViewModel class.
public YearBuiltDataViewModel();Initializes a new instance of the YearBuiltDataViewModel class with specified building reference and year built data.
public YearBuiltDataViewModel(DiGi.GIS.PostgreSQL.Classes.Building2DReference? building2DReference, DiGi.GIS.Interfaces.IYearBuiltData? yearBuiltData);building2DReference DiGi.GIS.PostgreSQL.Classes.Building2DReference
The reference to the 2D building.
yearBuiltData DiGi.GIS.Interfaces.IYearBuiltData
The year built data associated with the building.
Gets the reference to the 2D building.
public DiGi.GIS.PostgreSQL.Classes.Building2DReference? Building2DReference { get; }DiGi.GIS.PostgreSQL.Classes.Building2DReference
Gets the year built data associated with the building.
public DiGi.GIS.Interfaces.IYearBuiltData? YearBuiltData { get; }