示例#1
0
 public BasePointDto(IScadaPointDto dto)
 {
     ClassType       = dto.ClassType;
     Direction       = dto.Direction;
     Index           = dto.Index;
     Mrid            = dto.Mrid;
     ObjectMrid      = dto.ObjectMrid;
     RegisterType    = dto.RegisterType;
     TimeStamp       = dto.TimeStamp;
     MeasurementType = dto.MeasurementType;
     Alarm           = dto.Alarm;
     MinValue        = dto.MinValue;
     MaxValue        = dto.MaxValue;
     NormalValue     = dto.NormalValue;
     Value           = dto.Value;
 }
示例#2
0
 public MeasurementModel(IScadaPointDto dto) : base(dto)
 {
 }
 private MeasurementModel Map(IScadaPointDto scadaPoint)
 {
     return(new MeasurementModel(scadaPoint));
 }