C# Mine
Gateway.Gateway Constructor (uint, eGatewayType, string, string, string, int, double, bool, double, bool, string, string, string, string, string)

Presets these properties 

GatewayType GatewayFirmwareVersion RadioFirmwareVersion Host Port 

You can selectively set these properties ReportInterval (Default: 5) ObserveAware (Default: true) PollInterval (Default: 0 Not Enabled) HasUrgentTraffic (Default: false) GatewayIP (Default: "" Use DHCP) GatewaySubnet (Default: "") DefaultRouterIP (Default: "") GatewayDNS (Default: "") SecondaryDNS (Default: "") 

Sets all other properties to default values

public Gateway(uint gatewayID, eGatewayType gatewayType, string gatewayFirmwareVersion, string radioFirmwareVersion, string hostAddress, int port, double reportInterval, bool observeAware, double pollInterval, bool hasUrgentTraffic, string gatewayIP, string gatewaySubnet, string defaultRouterIP, string gatewayDNS, string secondaryDNS);
uint gatewayID 
Numerical identifier of the gateway. 
eGatewayType gatewayType 
Type of gateway. 
string gatewayFirmwareVersion 
Gateway firmware version. 
string radioFirmwareVersion 
Radio firmware version. 
string hostAddress 
IP Address or DNS resolvable host name address the gateway uses to communicate to the server. 
int port 
Port the gateway will use to communicate to the server. 
double reportInterval 
Interval in minutes gateway communicates. (Default: 5) 
bool observeAware 
Triggers communication on aware messages from sensors. (Default: true) 
double pollInterval 
Interval the gateway polls the server to identify if urgent messages need to be communicated to gateway. (Default: 0 Not Enabled) 
bool hasUrgentTraffic 
Indicates if the server currently has urgent traffic for the gateway. (Default: false) 
string gatewayIP 
IP the gateway will use on the local area network. (Default: "" Use DHCP) 
string gatewaySubnet 
Subnet the gateway will use to communication on the local area network. (Default: "") 
string defaultRouterIP 
Default router the gateway will send information to if it needs to communicate outside the local area network. (Default: "") 
string gatewayDNS 
DNS server used to lookup server host names. (Not used is host is configured with IP Address.) (Default: "") 
string secondaryDNS 
Secondary DNS server used to lookup host names if Primary DNS server is not available. (Default: "") 
Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!