Пример #1
0
 /// <summary>
 /// Initializes a new instance of the CreateAlarmGroupDto class.
 /// </summary>
 public CreateAlarmGroupDto(string name, AccountIdDto account, System.Collections.Generic.IList <CreateAlarmSubscriptionDto> alarmSubscriptions = default(System.Collections.Generic.IList <CreateAlarmSubscriptionDto>), System.Collections.Generic.IList <WriteAlarmExclusionDto> alarmExclusions = default(System.Collections.Generic.IList <WriteAlarmExclusionDto>), System.Collections.Generic.IList <UnitIdDto> units = default(System.Collections.Generic.IList <UnitIdDto>))
 {
     Name               = name;
     Account            = account;
     AlarmSubscriptions = alarmSubscriptions;
     AlarmExclusions    = alarmExclusions;
     Units              = units;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the CreateGatewayDto class.
 /// </summary>
 public CreateGatewayDto(int rfuId, AccountIdDto account, string name = default(string), string wifiSSID = default(string), string wifiPassword = default(string), double?latitude = default(double?), double?longitude = default(double?), double?locationAccuracy = default(double?))
 {
     Name             = name;
     WifiSSID         = wifiSSID;
     WifiPassword     = wifiPassword;
     RfuId            = rfuId;
     Latitude         = latitude;
     Longitude        = longitude;
     LocationAccuracy = locationAccuracy;
     Account          = account;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the CreateUnitDto class.
 /// </summary>
 /// <param name="dataInterval">Possible values include: 'Minute',
 /// 'Minutes5', 'Seconds20Boost'</param>
 public CreateUnitDto(string dataInterval, string name = default(string), string description = default(string), double?latitude = default(double?), double?longitude = default(double?), double?gpsAccuracy = default(double?), System.Collections.Generic.IList <WriteUnitValueDto> unitValues = default(System.Collections.Generic.IList <WriteUnitValueDto>), AccountIdDto account = default(AccountIdDto), UnitTypeIdDto unitType = default(UnitTypeIdDto))
 {
     Name         = name;
     Description  = description;
     Latitude     = latitude;
     Longitude    = longitude;
     GpsAccuracy  = gpsAccuracy;
     DataInterval = dataInterval;
     UnitValues   = unitValues;
     Account      = account;
     UnitType     = unitType;
 }