示例#1
0
    // Use this for initialization
    void Start()
    {
        isAppConnected = false;
        statusText     = GetComponent <ConnectionStatusText>();

        _EpcDevice    = new EpcDevice(host, port, deviceName, dataID, sensorName);
        tripodSensors = new ListOfTrackedSensors(host, port, deviceName);
        // Connect automatically
        connectThread = new Thread(_connect);
        connectThread.Start();
    }
示例#2
0
 public SensorAndValue(EpcDevice _sensor, int _value)
 {
     sensor = _sensor;
     value  = 0;
 }