public ServerData ( System.Guid id, String name, String location, String description, |
||
id | System.Guid | |
name | String | |
location | String | |
description | String | |
sensors | ||
pictureBytes | byte | |
return | System |
public ServerData(Guid id, String name, String location, String description,
SensorDescriptionsData sensors, byte[] pictureBytes)
{
this.id = id;
this.name = name;
this.location = location;
this.description = description;
this.pictureBytes = pictureBytes;
foreach (SensorDefinition sensorDef in sensors)
{
this.sensors.Add(sensorDef);
}
}