public Fan(int number)
 {
     this.fanSpeed = new FanSpeed(number, 2000);
     this.fanCooling = new FanCooling(number, 2000);
     this.fanTemp = new FanTemp(number, 2000);
 }
        override public void parse(string reply)
        {
            FanTemp temp = new FanTemp(this.fanNumber);
            DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(FanTemp));

            MemoryStream stream1 = new MemoryStream();

            StreamWriter writer = new StreamWriter(stream1);
            writer.Write(reply);
            writer.Flush();

            stream1.Position = 0;
            temp = (FanTemp)ser.ReadObject(stream1);

            this.supplyAirTemp = temp.supplyAirTemp;
            this.returnAirTemp = temp.returnAirTemp;
            this.rackInTemp = temp.rackInTemp;
        }