Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI
1.0.1
Prefix Reserved
dotnet add package Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI --version 1.0.1
NuGet\Install-Package Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI -Version 1.0.1
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI" Version="1.0.1" />
<PackageVersion Include="Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI" Version="1.0.1" />
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI" />
paket add Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI --version 1.0.1
#r "nuget: Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI, 1.0.1"
#:package Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI@1.0.1
#addin nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI&version=1.0.1
#tool nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI&version=1.0.1
Skyline.DataMiner.Dev.Utils.Solutions.SatOps.GQI
A NuGet package providing models and helper classes for interacting with the DataMiner SatOps (Satellite Operations) solution from within custom GQI data sources.
Getting Started
Prerequisites: A running DataMiner system with the SatOps solution installed.
Obtain an ISatOpsApi from the GQIDMS instance handed to your data source in OnInit, then use it to feed satellite-operations data into low-code apps and dashboards.
A minimal ad hoc data source listing satellites:
using Skyline.DataMiner.Analytics.GenericInterface;
using Skyline.DataMiner.Solutions.SatOps.Common.API;
using Skyline.DataMiner.Solutions.SatOps.GQI.Extensions;
[GQIMetaData(Name = "SatOps Satellites")]
public sealed class SatellitesDataSource : IGQIDataSource, IGQIOnInit
{
private ISatOpsApi api;
public OnInitOutputArgs OnInit(OnInitInputArgs args)
{
api = args.DMS.GetSatOpsApi();
return default;
}
public GQIColumn[] GetColumns() => new GQIColumn[]
{
new GQIStringColumn("Name"),
new GQIStringColumn("Operator"),
new GQIDoubleColumn("Longitude (°)"),
};
public GQIPage GetNextPage(GetNextPageInputArgs args)
{
var rows = api.Satellites.Read()
.Select(satellite => new GQIRow(new[]
{
new GQICell { Value = satellite.Name },
new GQICell { Value = satellite.Operator },
new GQICell { Value = satellite.LongitudeForGEODegrees ?? 0d },
}))
.ToArray();
return new GQIPage(rows) { HasNextPage = false };
}
}
Guard against a missing solution:
public OnInitOutputArgs OnInit(OnInitInputArgs args)
{
api = args.DMS.GetSatOpsApi();
if (!api.IsInstalled())
throw new GenIfException("The SatOps solution is not installed on this DMS.");
return default;
}
Filter server-side with exposers:
Pushing the filter down to the API avoids materializing entities you do not need.
using Skyline.DataMiner.Solutions.SatOps.Common.API.Objects.SatelliteManagement;
using Skyline.DataMiner.Solutions.SatOps.Common.API.Objects.SatelliteManagement.Transponder;
using Skyline.DataMiner.Solutions.SatOps.Common.API.Querying.Transponder;
var kuBandTransponders = api.Transponders.Read(
TransponderExposers.Band.Equal(TransponderBandType.Ku));
var activeTransponders = api.Transponders.Read(
TransponderExposers.Status.Equal(InstanceStatus.Active));
Read child entities for a selected parent (e.g. via a GQI argument):
var transponders = api.Transponders.ReadBySatellite(satelliteId);
var plans = api.TransponderPlans.ReadByTransponder(transponderId);
var slots = api.TransponderSlots.ReadByTransponderPlan(transponderPlanId);
Page large result sets:
foreach (var page in api.Transponders.ReadPaged(pageSize: 500))
{
// map page to GQI rows
}
The full API surface (repositories, domain models, exposers) is provided by the Skyline.DataMiner.Dev.Utils.Solutions.SatOps.Common package, which this DevPack depends on.
About
Contains the models and helper classes to interact with the SatOps solution from custom GQI data sources.
About DataMiner
DataMiner is a transformational platform that provides vendor-independent control and monitoring of devices and services. Out of the box and by design, it addresses key challenges such as security, complexity, multi-cloud, and much more. It has a pronounced open architecture and powerful capabilities enabling users to evolve easily and continuously.
The foundation of DataMiner is its powerful and versatile data acquisition and control layer. With DataMiner, there are no restrictions to what data users can access. Data sources may reside on premises, in the cloud, or in a hybrid setup.
A unique catalog of 7000+ connectors already exists. In addition, you can leverage DataMiner Development Packages to build your own connectors (also known as "protocols" or "drivers").
Note See also: About DataMiner.
About Skyline Communications
At Skyline Communications, we deal in world-class solutions that are deployed by leading companies around the globe. Check out our proven track record and see how we make our customers' lives easier by empowering them to take their operations to the next level.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.