// This file has been autogenerated from a class added in the UI designer.

using System;
using Foundation;

namespace AsReaderDock_VS
{
	public partial class RFMSensorItem : NSObject
	{
        public enum RFMTempSensorType : uint
        {
            RFMSensorMoisture,
            RFMSensorTemperature
        }
        public RFMTempSensorType sensortype;
        public string pcEpc;
        public string sensorData;
        public string cop;
        public string cfq;
        public string ct;
        public string cd;
        public string temperature;
        public string moisture;
        public string moistureResult;
        public string rssi;
        public int count;

        public static RFMSensorItem itemWith(string _pcEpc, string _sensorData, string _cop, string _cfq, string _ct, string _cd, string _temperature, string _moisture, string _moistureResult, string _rssi)
        {
            RFMSensorItem item = new RFMSensorItem();
            item.pcEpc = _pcEpc;
            item.sensorData = _sensorData;
            item.cop = _cop;
            item.cfq = _cfq;
            item.ct = _ct;
            item.cd = _cd;
            item.temperature = _temperature;
            item.moisture = _moisture;
            item.moistureResult = _moistureResult;
            item.rssi = _rssi;
            item.count = 1;
            return item;
        }

        public void updateRssi(string _pcEpc, string _sensorData, string _cop, string _cfq, string _ct, string _cd, string _temperature, string _moisture, string _moistureResult, string _rssi)
        {
            pcEpc = _pcEpc;
            sensorData = _sensorData;
            cop = _cop;
            cfq = _cfq;
            ct = _ct;
            cd = _cd;
            temperature = _temperature;
            moisture = _moisture;
            moistureResult = _moistureResult;
            rssi = _rssi;
        }
    }
}
