using System; using System.Collections.Generic; namespace TellmePdmsPluging.Models { public class ModelStatusResponse { public bool ModelLoaded { get; set; } public ProjectInfo ProjectInfo { get; set; } public ModelStatistics ModelStatistics { get; set; } public SessionInfo SessionInfo { get; set; } public ExportDiagnostics ExportDiagnostics { get; set; } } public class ProjectInfo { public string ProjectName { get; set; } public string MdsName { get; set; } public string PdmsVersion { get; set; } } public class ModelStatistics { public int TotalElements { get; set; } public Dictionary ElementCounts { get; set; } public int ZoneCount { get; set; } public List ActiveZones { get; set; } public long FileSize { get; set; } public long PolygonCount { get; set; } public long FeatureCount { get; set; } } public class SessionInfo { public string UserName { get; set; } public DateTime StartTime { get; set; } public int DurationMinutes { get; set; } } public class ExportDiagnostics { public string ActiveMdbName { get; set; } public bool DesignDbAvailable { get; set; } public bool CurrentMdbMatchesRequested { get; set; } public string RequestedMdbName { get; set; } public bool ExportPrecheckPassed { get; set; } public bool DefinitionsLikelyMissing { get; set; } public string Message { get; set; } public string LastExportError { get; set; } } }