Beispiel #1
0
        public EapiI2cEdm(ILoggerFactory loggerFactory)
        {
            Identifier       = new EapiI2cEdmIdentifier(GetType().FullName);
            _eapiInitializer = new EapiInitializer();
            _i2CDriver       = new I2cDriver(loggerFactory.GetLoggerFor(typeof(I2cDriver)), new EApiStatusCodes());

            _edmCapability = CreateEdmCapability();
        }
Beispiel #2
0
        public EapiBoardInformationEdm()
        {
            Identifier              = new EapiBoardInformationEdmIdentifier(GetType().FullName);
            _eapiInitializer        = new EapiInitializer();
            _boardInformationDriver = new BoardInformationDriver();

            _eapiBoardInformationEdmCapabilityProvider = new EapiBoardInformationEdmCapabilityProvider(this);
        }
Beispiel #3
0
        public GpioEdm(ILoggerFactory loggerFactory)
        {
            Identifier = new GpioEdmIdentifier();
            _logger    = loggerFactory.GetLoggerFor(GetType());

            _gpioDriver      = new GpioDriver(loggerFactory.GetLoggerFor(typeof(GpioDriver)), new EApiStatusCodes());
            _eapiInitializer = new EapiInitializer();
        }