Cayaqui.MPS.ReportModels
0.3.1
See the version list below for details.
dotnet add package Cayaqui.MPS.ReportModels --version 0.3.1
NuGet\Install-Package Cayaqui.MPS.ReportModels -Version 0.3.1
<PackageReference Include="Cayaqui.MPS.ReportModels" Version="0.3.1" />
<PackageVersion Include="Cayaqui.MPS.ReportModels" Version="0.3.1" />
<PackageReference Include="Cayaqui.MPS.ReportModels" />
paket add Cayaqui.MPS.ReportModels --version 0.3.1
#r "nuget: Cayaqui.MPS.ReportModels, 0.3.1"
#:package Cayaqui.MPS.ReportModels@0.3.1
#addin nuget:?package=Cayaqui.MPS.ReportModels&version=0.3.1
#tool nuget:?package=Cayaqui.MPS.ReportModels&version=0.3.1
Cayaqui.MPS.ReportModels
Zero-dependency shared DTOs, palette colours (MpsColor), and utilities for Cayaqui.MPS.ExcelExport and Cayaqui.MPS.PptExport.
Overview
MPS.Infrastructure.ReportModels is the foundation layer for the MPS report generation ecosystem. It provides platform-agnostic types that both Excel and PowerPoint export packages reference, with no dependencies on Syncfusion, System.Drawing, or any other rendering library.
Contents
MpsColor
A platform-agnostic RGB colour struct. Renderers convert it to their specific colour type via extensions in each output package:
// In ExcelExport
color.ToXlsIO() // → Syncfusion.Drawing.Color
// In PptExport
color.ToPpt() // → DocumentFormat.OpenXml colour
Palette
| Class | Purpose |
|---|---|
SemaforoColors |
Light EVM semáforo tones (green / amber / red / neutral) — readable with black text |
EvmChartPalette |
Canonical MPS EVM chart colours — visual parity with MPS.Components Blazor |
Visual Parity
EvmChartPalette uses the same hex values as the Blazor components in MPS.Components.Evm, ensuring charts produced by Excel/PowerPoint export match the web dashboard.
| Role | Hex | Swatch |
|---|---|---|
| Plan | #2E5BFF |
Blue |
| Earned | #7F56D9 |
Purple |
| Actual | #D92D20 |
Red |
| Forecast | #039855 |
Green |
| BAC | #101828 |
Near-black |
| Cut-off | #D6D3D1 |
Light grey |
| Baseline | #44403C |
Warm dark |
| Cyan | #0086C9 |
Cyan |
EVM Data DTOs (MPS.Infrastructure.ReportModels.Evm)
| DTO | Descripción |
|---|---|
EvmKpiSnapshot |
Snapshot de KPIs en la fecha de corte (CPI, SPI, EV, AC, PV, BAC, Δ anteriores) |
EvmSCurvePoint |
Punto PV/EV/AC/Forecast para la curva S |
CashflowPoint |
Punto Plan/Actual/Forecast mensual para cashflow |
BurndownPoint |
Punto Remaining para burndown |
PhysicalProgressPoint |
Punto Baseline/Plan/Actual/Forecast % avance físico |
ProductionPoint |
Punto Plan/Actual producción (minería) |
R9cEntry |
Fila del reporte de 9 columnas AACE 80R-13 |
RiskItem + RiskView |
Riesgo con Probability/Impact para heatmap |
VarianceRow |
Fila de varianza cronograma (baseline/current/forecast) |
ContingencyPoint |
Punto Plan/Actual contingencia restante |
WaterfallStep + WaterfallStepKind |
Paso de cascada: Total, Subtotal, Add, Subtract, Pending, Forecast |
ResourceBucket |
Celda Period×Category para histograma de recursos |
ManagementReserveEvent + ManagementReserveEventKind |
Evento de reserva de gestión con monto y nota |
TornadoItem |
Ítem tornado: label + desviación Low/High |
MilestoneItem + MilestoneHealth |
Hito con fecha, salud y fecha baseline |
RiskRegisterEntry |
Entrada registro de riesgos completo (score = Probability × Impact) |
ChangeOrderEntry |
Orden de cambio con impacto costo/cronograma y estado |
Utils (MPS.Infrastructure.ReportModels.Utils)
| Clase | Descripción |
|---|---|
CumulativeBuilder |
Calcula acumulados Plan/Actual/Forecast a partir de puntos mensuales + CutOffDate |
EvmThresholds |
Umbrales semáforo para CPI/SPI con método Resolve(decimal?) → MpsColor |
Release Notes
0.2.0
8 nuevos DTOs Fase 2: ContingencyPoint, WaterfallStep+WaterfallStepKind, ResourceBucket, ManagementReserveEvent+ManagementReserveEventKind, TornadoItem, MilestoneItem+MilestoneHealth, RiskRegisterEntry, ChangeOrderEntry. Paridad completa con Cayaqui.MPS.ExcelExport v0.6.0 y Cayaqui.MPS.PptExport v0.2.0.
0.1.0
Initial release: MpsColor, SemaforoColors, EvmChartPalette.
Proprietary — requires a commercial agreement with Cayaqui.
For licensing inquiries: licensing@cayaqui.com
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Cayaqui.MPS.ReportModels:
| Package | Downloads |
|---|---|
|
Cayaqui.MPS.ExcelExport
Exports strongly-typed collections of DTOs to .xlsx using the attributes from Cayaqui.MPS.Metadata: Label for headers, Currency/Percentage/Date for cell formats, Align/ColumnWidth for layout, VisibleIn/Hidden for visibility, Order for column order, Badge for cell background color. Uses Syncfusion XlsIO. Proprietary — requires a commercial agreement with Cayaqui. |
|
|
Cayaqui.MPS.PptExport
Programmatic PowerPoint slide sections for EVM reporting. Each IPptSlideSection adds a slide to a Syncfusion.Presentation IPresentation. Pairs with Cayaqui.MPS.ExcelExport and Cayaqui.MPS.ReportModels. |
|
|
Cayaqui.MPS.WordExport
Programmatic Word document sections for EVM reporting. Each IWordDocSection adds a section to a Syncfusion.DocIO WordDocument. Pairs with Cayaqui.MPS.PptExport, Cayaqui.MPS.ExcelExport, and Cayaqui.MPS.ReportModels. |
GitHub repositories
This package is not used by any popular GitHub repositories.
0.3.1 — Fix: re-publicación de 0.3.0 con binarios correctos. Sin diferencia de API.
0.3.0 — Licensing: MpsReportModels.RegisterLicense(licenseKey) + LicenseState property. ReportModelsLicenseState disponible en DI. Sin breaking changes.
0.2.0 — 8 nuevos DTOs Fase 2: ContingencyPoint, WaterfallStep+WaterfallStepKind, ResourceBucket, ManagementReserveEvent+ManagementReserveEventKind, TornadoItem, MilestoneItem+MilestoneHealth, RiskRegisterEntry, ChangeOrderEntry. Paridad con ExcelExport v0.6.0 y PptExport v0.2.0. 0.1.0 — Initial release: MpsColor, SemaforoColors, EvmChartPalette.