Esempio n. 1
0
        public List <SenseRelation> GetSenseRelations(SenseRelationType relationType)
        {
            SenseRelationType[] types = new SenseRelationType[1];
            types[0] = relationType;

            return(SenseService.GetSenseRelationsByType(this.id, types));
        }
Esempio n. 2
0
 public RpiProbeHostedService(
     GpsModuleStatusCommand gpsModuleStatusCommand,
     GpsModuleCoordinatesCommand gpsModuleCoordinatesCommand,
     SerialPort serialPort,
     ILogger <RpiProbeHostedService> logger,
     SenseService senseService,
     ReportService reportService,
     TemperService temperService)
 {
     _gpsModuleStatusCommand      = gpsModuleStatusCommand;
     _gpsModuleCoordinatesCommand = gpsModuleCoordinatesCommand;
     _serialPort    = serialPort;
     _logger        = logger;
     _senseService  = senseService;
     _reportService = reportService;
     _temperService = temperService;
 }
Esempio n. 3
0
 public List <SenseRelation> GetSenseRelations(SenseRelationType[] relationTypes)
 {
     return(SenseService.GetSenseRelationsByType(this.id, relationTypes));
 }