⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dhvvectorc.nc

📁 tinyos-2.x.rar
💻 NC
字号:
/**
 * DHV Vector Message Configuration
 *
 * Define interfaces and components.
 *
 * @author Thanh Dang
 * @author Seungweon Park
 *
 * @modified 1/3/2009   Added meaningful documentation.
 * @modified 8/28/2008  Defined DHV modules.
 * @modified 8/28/2008  Took the source code from DIP.
 **/

configuration DhvVectorC {
  provides interface DhvDecision;

  uses interface DhvSend as VectorSend;
  uses interface DhvReceive as VectorReceive;
  uses interface DhvLogic as VectorLogic;
	uses interface DhvLogic as DataLogic;
  uses interface DhvHelp;
}

implementation {
  components DhvVectorP;
  DhvDecision = DhvVectorP;
  VectorSend = DhvVectorP;
  VectorReceive = DhvVectorP;
  DhvHelp = DhvVectorP;
  VectorLogic = DhvVectorP.VectorLogic;
	DataLogic   = DhvVectorP.DataLogic;
  components RandomC;
  DhvVectorP.Random -> RandomC;

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -