public List <SenseRelation> GetSenseRelations(SenseRelationType relationType) { SenseRelationType[] types = new SenseRelationType[1]; types[0] = relationType; return(SenseService.GetSenseRelationsByType(this.id, types)); }
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; }
public List <SenseRelation> GetSenseRelations(SenseRelationType[] relationTypes) { return(SenseService.GetSenseRelationsByType(this.id, relationTypes)); }