﻿<?xml version="1.0" encoding="utf-8"?>
<!--
    通用新内容提醒模块注册    
    
    配置说明：
    Parent：此模块父菜单名称
    Name：模块名称
    Desc：模块语音提醒时的播报描述，手持系统会用到,没用到的可以不配
    DLL：继承通知接口的实现类所在的DLL动态库文件名
    Class：具体的实现类，全名称，即命名空间+类名
    Tag：特殊参数，可不配置
    
    内置二个通用通知接口的实现类：
    SQLNotification：
    根据SQL语句查询通知数目，使用{0}作为占位符。可返回新内容的ID表，或者直接返回新内容数目；
    此种配置下，Tag对应的是使用的SQL语句；
    示例如下：
    <WebBizModule>
      <Parent></Parent>
      <Name>示例查询语句</Name>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.SQLNotification</Class>
      <Tag>
        SELECT COUNT(用户ID) FROM FLOW_USERS WHERE 用户ID={0}
      </Tag>
    </WebBizModule>    
    
    ProcedureNotification：
    根据存储过程查询通知数目，要求此存储过程参数为INT类型的userID，返回结果是一张表；
    此种配置下，Tag对应的是使用的存储过程名称；
    示例如下：
    <WebBizModule>
      <Parent></Parent>
      <Name>示例存储过程</Name>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.ProcedureNotification</Class>
      <Tag>MyProcedureName</Tag>
    </WebBizModule>
-->
<Modules>
  <!--手持系统 -->
  <MobileModules>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>即时信息</Name>
      <Desc>短信息</Desc>
      <DLL>Zondy_MapGISCitySvr_MobileBusiness</DLL>
      <Class>Zondy_MapGISCitySvr_MobileBusiness.Code.Module.Notification.SMSNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>计划任务</Name>
      <Desc>计划</Desc>
      <DLL>Zondy_MapGISCitySvr_MobileBusiness</DLL>
      <Class>Zondy_MapGISCitySvr_MobileBusiness.Code.Module.Notification.MyPlanNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>维修养护</Name>
      <Desc>抢修工单</Desc>
      <DLL>Zondy_MapGISCitySvr_GHRQEmergency</DLL>
      <Class>Zondy_MapGISCitySvr_GHRQEmergency.Notification.RepairCaseNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>通知反馈</Name>
      <Desc>通知工单</Desc>
      <DLL>Zondy_MapGISCitySvr_GHRQEmergency</DLL>
      <Class>Zondy_MapGISCitySvr_GHRQEmergency.Notification.NoticeCaseNotification</Class>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>第三方工程巡查</Name>
      <Desc>第三方工程巡查</Desc>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.SQLNotification</Class>
      <Tag>select count(*) as num from [CIV_THREEPART_CONSTRUCTION] where [工程状态]='未完工' and [上报人ID]={0}</Tag>
    </MobileModule>
    <MobileModule>
      <Parent>主页菜单</Parent>
      <Name>碰通检测</Name>
      <Desc>碰通检测</Desc>
      <DLL>CitySvr_Biz_CZGH</DLL>
      <Class>CitySvr_Biz_CZGH.Module.TouchNotification</Class>
    </MobileModule>
  </MobileModules>
  <!--业务系统-->
  <WebBizModules>
    <WebBizModule>
      <Parent>事件管理</Parent>
      <Name>待分派事件</Name>
      <Desc>1</Desc>
      <DLL>Zondy_MapGISCitySvr_NewNotification</DLL>
      <Class>Zondy_MapGISCitySvr_NewNotification.ProcedureNotification</Class>
      <Tag>CIV_PROC_VALID_EVENT</Tag>
    </WebBizModule>
    <WebBizModule>
      <Parent>养护隐患</Parent>
      <Name>隐患问题</Name>
      <Desc>1</Desc>
      <DLL>Zondy_MapGISCitySvr_CaseManage</DLL>
      <Class>Zondy_MapGISCitySvr_CaseManage.Notification.EventListMainNotification</Class>
      <Tag>
      </Tag>
    </WebBizModule>
    <WebBizModule>
      <Parent>工单管理</Parent>
      <Name>在办工单</Name>
      <Desc>1</Desc>
      <DLL>Zondy_MapGISCitySvr_GHRQEmergency</DLL>
      <Class>Zondy_MapGISCitySvr_GHRQEmergency.Notification.RepairCaseNotification</Class>
      <Tag>
      </Tag>
    </WebBizModule>
    <WebBizModule>
      <Parent>工单管理</Parent>
      <Name>通知工单</Name>
      <Desc>1</Desc>
      <DLL>Zondy_MapGISCitySvr_GHRQEmergency</DLL>
      <Class>Zondy_MapGISCitySvr_GHRQEmergency.Notification.NoticeCaseNotification</Class>
      <Tag>
      </Tag>
    </WebBizModule>
  </WebBizModules>
  <!--WebGIS-->
  <WebGISModules>
    <WebGISModule>
      <Parent>
      </Parent>
      <Name>
      </Name>
      <Desc>
      </Desc>
      <DLL>
      </DLL>
      <Class>
      </Class>
    </WebGISModule>
  </WebGISModules>
</Modules>