Exemplo n.º 1
0
        protected override MonitorResult Action()
        {
            BitReportModel bitReportModel = GetApi <RubidiumApi>().GetBitReport();

            Log.Debug("{@bitReport}", bitReportModel);
            return(new MonitorResult());
        }
        public BitReportModel GetBitReport()
        {
            Log.Debug($"Enter method {MethodBase.GetCurrentMethod().Name}");
            BitReportModel bitReportModel = _rubidiumApi.GetBitReport();

            //bool outputState = ApiManager.GetApi<IPowerSupplyApi>().GetOutputState(channel);
            //PowerStateValidator powerStateValidator = new PowerStateValidator(expectedValue: true);
            //var res = powerStateValidator.Validate(outputState);
            return(bitReportModel);
        }