TellmePdmsPluging/Models/ModelStatusResponse.cs

41 lines
1.1 KiB
C#

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 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<string, int> ElementCounts { get; set; }
public int ZoneCount { get; set; }
public List<string> 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; }
}
}