public Alarm MapFromDTO(AlarmDTO alarmDTO) { ThingId = alarmDTO.ThingId; Type = alarmDTO.Type; UID = alarmDTO.UID; return(this); }
public Alarm(AlarmDTO alarmDTO) { ThingId = alarmDTO.ThingId; Type = alarmDTO.Type; UID = alarmDTO.UID; }