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

📄 dhvhsumc.nc

📁 tinyos-2.x.rar
💻 NC
字号:
/**
 * DHV Horizontal Summary Implementation.
 *
 * Define the interfaces and components.
 *
 * @author Thanh Dang
 * @author Seungweon Park
 * @modified 1/3/2009   Added meaningful documentation.
 * @modified 8/28/2008  Defined DHV interfaces type.
 **/

configuration DhvHSumC{
  provides interface DhvDecision;

  uses interface DhvSend as HSumSend;
  uses interface DhvReceive as HSumReceive;
  uses interface DhvStateLogic as VBitLogic;
  uses interface DhvHelp;
}

implementation{	
  components DhvHSumP, RandomC;
  DhvDecision 		= DhvHSumP;
  HSumSend 		= DhvHSumP;
  HSumReceive 		= DhvHSumP;
  VBitLogic 		= DhvHSumP;
  DhvHelp 		= DhvHSumP;
  DhvHSumP.Random 	-> RandomC;
}

⌨️ 快捷键说明

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