@hcm-agreement/hcm-utils
A .NET library for dealing with HCM input and output data
Explore the docs - Report an issue
Getting Started
Examples
Build a legacy string
Build an input string for a point-to-line calculation for the legacy API:
var inputOutputString = HCMUtils.String.Helpers.BuildLegacyInputString(
TxCoordinates,
TxSiteHeight,
TxAntennaType,
TxAzimuth,
TxElevation,
TxAntennaHeight,
TxGainType,
TxPower,
TxFrequency,
ChannelOccupation,
SeaTemperature,
TxServiceAreaRadius,
DistanceOverSea,
TxEmissionDesignation,
PermissibleFieldStrength,
TargetCountry,
TxCountry,
MaxCrossBorderRange,
"D:\\TOPO",
"D:\\BORDER",
"D:\\MORPHO"
);
Convert HCM input strings
var frequency = StringHelpers.ParseSINumber("3.8G"); // => 3_800_000_000
var gainType = StringHelpers.ParseGainType("E"); // => GainType.Dipole
// ...
Features
- convert to and from (legacy) HCM input data
- build input strings for the legacy HCM interface
- platform-agnostic - use anywhere!
Contributing
Please refer to the contributing guide.