代码搜索结果
找到约 3,108 项符合
Sensor 的代码
sensor-test.py
# This script is in the public domain and has no copyright
#
# This is a simple example script that demonstrates the use of
# SimObjects that are not Motes to represent a sensor value. In this
# case,
sensor.java
package org.drools;
public class Sensor {
private int temperature;
private int pressure;
public Sensor(final int temp,
final int press) {
this.temperatu
sensor.java
/*
* $RCSfile: Sensor.java,v $
*
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
*
* Use is subject to license terms.
*
* $Revision: 1.5 $
* $Date: 2007/02/09 17:18:20 $
* $S
i2c-sensor.h
/*
i2c-sensor.h - Part of the i2c package
was originally sensors.h - Part of lm_sensors, Linux kernel modules
for hardware monitoring
Copyright (c) 1998,
button-sensor.c
#include "dev/button-sensor.h"
const struct sensors_sensor button_sensor;
/*---------------------------------------------------------------------------*/
void
button_press(void)
{
sensors_changed
pir-sensor.c
#include "dev/pir-sensor.h"
const struct sensors_sensor pir_sensor;
static int pir_value;
/*---------------------------------------------------------------------------*/
void
pir_sensor_changed(in
button-sensor.c
#include "dev/button-sensor.h"
const struct sensors_sensor button_sensor;
/*---------------------------------------------------------------------------*/
void
button_press(void)
{
sensors_changed
pir-sensor.c
#include "dev/pir-sensor.h"
const struct sensors_sensor pir_sensor;
static int pir_value;
/*---------------------------------------------------------------------------*/
void
pir_sensor_changed(in
sensor.java
package securitysystem;
//定义传感器抽象类:
public abstract class Sensor {
public String position;//所安装位置
}
sensor.java~3~
package securitysystem;
public abstract class Sensor {
}