示例#1
0
        public Measure MapFromDTO(MeasureDTO measureDTO)
        {
            ThingId = measureDTO.ThingId;
            Type    = measureDTO.Type;
            Value   = measureDTO.Value;

            return(this);
        }
示例#2
0
 public Measure(MeasureDTO measureDTO)
 {
     ThingId = measureDTO.ThingId;
     Type    = measureDTO.Type;
     Value   = measureDTO.Value;
 }