示例#1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            SensorTelemetryEN t = obj as SensorTelemetryEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#2
0
 public SensorTelemetryEN(SensorTelemetryEN sensorTelemetry)
 {
     this.init(Id, sensorTelemetry.SensorType, sensorTelemetry.Telemetry, sensorTelemetry.Name);
 }