예제 #1
0
        public Alarm MapFromDTO(AlarmDTO alarmDTO)
        {
            ThingId = alarmDTO.ThingId;
            Type    = alarmDTO.Type;
            UID     = alarmDTO.UID;

            return(this);
        }
예제 #2
0
 public Alarm(AlarmDTO alarmDTO)
 {
     ThingId = alarmDTO.ThingId;
     Type    = alarmDTO.Type;
     UID     = alarmDTO.UID;
 }