Esempio n. 1
0
        public Alarm MapFromDTO(AlarmDTO alarmDTO)
        {
            ThingId = alarmDTO.ThingId;
            Type    = alarmDTO.Type;
            UID     = alarmDTO.UID;

            return(this);
        }
Esempio n. 2
0
 public Alarm(AlarmDTO alarmDTO)
 {
     ThingId = alarmDTO.ThingId;
     Type    = alarmDTO.Type;
     UID     = alarmDTO.UID;
 }