RadioPlan Settings
Jump to navigation
Jump to search
Radio plan settings is available from IMariaRadioPlanLayer.Settings
Color Schema Store
Color schemas for different plots can be read and updated with IMariaRadioPlanLayer.Settings.ColorSchemaStore
Get the ColorSchema for a PlotType:
var colorSchema = Settings.ColorSchemaStore.GetRenderColorSchema(PlotType.SignalLevelDbm);
Replace the ColorSchema for a PlotType:
var newSchema = new RenderColorSchema(
[
new RenderColorSchemaItem(-105, Colors.Red, "weak coverage"),
new RenderColorSchemaItem(-80, Colors.Green, "good coverage"),
], CompareOperators.GreaterThan, "dBm", 100, -105);
Settings.ColorSchemaStore.SetColorSchema(PlotType.SignalLevelDbm, newSchema);
Coverage Calculation Settings
Coverage Calculation settings can be get/set from IMariaRadioPlanLayer.Settings.CoverageCalculationSettings:
public record CoverageCalculationSettings(int Resolution, int Size, AreaShape CalculationAreaShape, string PropagationModel, RxHeight RxHeight);
| Property | Type | Description |
|---|---|---|
| Resolution | m | Raster resolution in pixel size |
| Size | m | Size of calculation width (and height) for Rectangle, or diameter for Circle |
| CalculationAreaShape | AreaShape | Shape of calculation area, Circle or Rectangle |
| PropagationModel | string | Propagation model name |
| RxHeight | RxHeight | Receiver Antenna Height [m] and mode, Above Ground Level (AGL) or Above Sea Level (ASL) |