Skip to content

SiteTexts

Static class in Oadm.Sdk.Sites · Oadm.Sdk.dll

Texts about sites shared by host and plugins.

public static class SiteTexts
static string RelayStateText(string reason, string where, RelayState state, SiteProtocol protocol, int port)

A relay’s or listener’s state for a page: “NTP at Building B: waiting for approval in the OADM Site Node app”.

Parameters

  • reason: What listens, as the plugin named it (“NTP”).
  • where: The site’s name, or SiteTexts.ThisServer for a listener on the server’s own network.
  • state: The state.
  • protocol: UDP or TCP.
  • port: The port.
static string RemovedSite(string siteName)

The site name of a device whose site was removed with its devices kept: “Building B (removed)”. The device shows Site offline until it is moved to another site or removed.

Parameters

  • siteName: The removed site’s name.
static string SiteOffline(string? siteName)

The status text of a device whose site is offline: “Site offline: Building B”.

const string NodeWasReset = "The site node was reset. Replace or remove the site."

The site’s node was reset (its site is not bound any more) and what to do about it.

const string NotAvailableAtSite = "Not available for devices at a site"

Why a task, compliance type, page or action of a SiteSupport.None package refuses a device at a site.

const string OutsideSiteNetworks = "The address is outside the networks the site reaches"

Why a new address of a device at a site is refused: it is outside the networks the site node reaches.

const string ThisServer = "this server"

The name of the server’s own network in relay texts (“NTP at this server: running”).