RadioPlan Settings: Difference between revisions

From Maria GDK Wiki
Jump to navigation Jump to search
(Created page with "Radio plan settings")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Radio plan settings
Radio plan settings is available from '''IMariaRadioPlanLayer.Settings'''
 
=== Colour schema store ===
Colour schemas for different plots can be investigated and updated with '''IMariaRadioPlanLayer.Settings.ColourSchemaStore'''<syntaxhighlight lang="c#">
var colourSchema = Settings.ColourSchemaStore.GetRenderColourSchema(PlotType.SignalLevelDbm);
</syntaxhighlight>Replace a colour schema<syntaxhighlight lang="c#">
var newSchema = new RenderColourSchema(
[
    new RenderColourSchemaItem(-105, Colors.Red, "weak coverage"),
    new RenderColourSchemaItem(-80, Colors.Green, "good coverage"),
], CompareOperators.GreaterThan, "dBm", 100, -105);
 
Settings.ColourSchemaStore.SetColorSchema(PlotType.SignalLevelDbm, newSchema);
</syntaxhighlight>
 
=== Coverage roperties ===
Coverage properties can be set from '''IMariaRadioPlanLayer.Settings.CoverageProperties'''<syntaxhighlight lang="c#">
public record CoverageProperties(int Resolution, int Size, AreaShape CalculationAreaShape, string PropagationModel, RxHeight RxHeight);
</syntaxhighlight>
 
=== PolygonBuilderOption ===
 
=== ConnectivityLinesSetting ===

Latest revision as of 16:22, 26 January 2026

Radio plan settings is available from IMariaRadioPlanLayer.Settings

Colour schema store

Colour schemas for different plots can be investigated and updated with IMariaRadioPlanLayer.Settings.ColourSchemaStore

var colourSchema = Settings.ColourSchemaStore.GetRenderColourSchema(PlotType.SignalLevelDbm);

Replace a colour schema

var newSchema = new RenderColourSchema(
[
    new RenderColourSchemaItem(-105, Colors.Red, "weak coverage"),
    new RenderColourSchemaItem(-80, Colors.Green, "good coverage"),
], CompareOperators.GreaterThan, "dBm", 100, -105);

Settings.ColourSchemaStore.SetColorSchema(PlotType.SignalLevelDbm, newSchema);

Coverage roperties

Coverage properties can be set from IMariaRadioPlanLayer.Settings.CoverageProperties

public record CoverageProperties(int Resolution, int Size, AreaShape CalculationAreaShape, string PropagationModel, RxHeight RxHeight);

PolygonBuilderOption

ConnectivityLinesSetting