首页| 行业标准| 论文文档| 电子资料| 图纸模型
购买积分 购买会员 激活码充值

您现在的位置是:团子下载站 > 其他 > M37546智能水表源码

M37546智能水表源码

  • 资源大小:28
  • 上传时间:2021-08-16
  • 下载次数:0次
  • 浏览次数:24次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

M37546智能水表 asp源码: while ( 1 ) {  switch ( g_statusA )  {   case 1:    /* Card has been inserted, check the type of card and process the corresponding task */    ProcessCard();     break;    case 2:    /* Process flux */    ProcessFlux();    break;    case 3:    /* Display some infomaTIon on LCD such as surplus and the status of water meter */    LCDDisplay();    break;    case 4:    /* Wait for 3s, detect flux and control the valve */    DetectFlux();    break;    case 5:    /* Power down */    io_powercontrol = 0;//    DisableLCD();    //io_LCDCS = 1; /* Disable LCD *//* test *///    g_statusA = 4;/* test end */    break;       default:    /* Accident */    g_statusA = 5; /* If there is an accident, go to power down */    break;   }
VIP VIP