using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HealthSensorPlatform.DeviceDescriptions
{
    public class DeviceDetails
    {
        public enum eType
        {
            eSpi,
            eI2c
        }
        public eType type;
        public int i2cInstance;
        public int i2cSlaveAddress;

        public int spiCs;
        public void InitSpi(int spiCs) {
            type = eType.eSpi;
            this.spiCs = spiCs;
        }
        public void InitI2c(int i2cInstance, int i2cSlaveAddress) {
            type = eType.eI2c;
            this.i2cInstance = i2cInstance;
            this.i2cSlaveAddress = i2cSlaveAddress;
        }
    }
}
