示例#1
0
        public SensorInfo GetSensorInfo(string productName, string path)
        {
            var sensorEntity = _database.GetSensorInfo(productName, path);

            return(sensorEntity != null ? new SensorInfo(sensorEntity) : null);
        }