Newer
Older
pgdsc / src / struts.xml
ty-pc\admin on 8 Sep 2019 2 KB 20190904 苏州现场调试后修改
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">
<struts>
	<package name="remote" namespace="/remote" extends="struts-default">
		<action name="clearDsAlarm" class="com.szpg.rmi.RemoteControlCommandAction" method="clearDsAlarm" />
		
		<!-- 温湿度读取和设置接口 -->
		<action name="readWSValue" class="com.szpg.rmi.RemoteWSCommandAction" method="readWSValue" />
		<action name="setWdThreshold" class="com.szpg.rmi.RemoteWSCommandAction" method="setWdThreshold" />
		<action name="setSdThreshold" class="com.szpg.rmi.RemoteWSCommandAction" method="setSdThreshold" />
		
		<!-- 氧气读取和设置接口 -->
		<action name="readO2Value" class="com.szpg.rmi.RemoteO2CommandAction" method="readO2Value" />
		<action name="setO2Threshold" class="com.szpg.rmi.RemoteO2CommandAction" method="setO2Threshold" />
		
		<!-- 甲烷读取和设置接口 -->
		<action name="readCH4Value" class="com.szpg.rmi.RemoteCH4CommandAction" method="readCH4Value" />
		<action name="setCH4Threshold" class="com.szpg.rmi.RemoteCH4CommandAction" method="setCH4Threshold" />
		
		<!-- 硫化氢读取和设置接口 -->
		<action name="readHSValue" class="com.szpg.rmi.RemoteHSCommandAction" method="readHSValue" />
		<action name="setHSThreshold" class="com.szpg.rmi.RemoteHSCommandAction" method="setHSThreshold" />
		
		<!-- 一氧化碳读取和设置接口 -->
		<action name="readCOValue" class="com.szpg.rmi.RemoteCOCommandAction" method="readCOValue" />
		<action name="setCOThreshold" class="com.szpg.rmi.RemoteCOCommandAction" method="setCOThreshold" />
		
		<!-- 风机控制接口 -->
		<action name="turnOnFj" class="com.szpg.rmi.RemoteFJCommandAction" method="turnOnFj" />
		<action name="turnOffFj" class="com.szpg.rmi.RemoteFJCommandAction" method="turnOffFj" />
		<action name="readFjStatus" class="com.szpg.rmi.RemoteFJCommandAction" method="readFjStatus" />
		
		<!-- 照明控制接口 -->
		<action name="turnOnZm" class="com.szpg.rmi.RemoteZMCommandAction" method="turnOnZm" />
		<action name="turnOffZm" class="com.szpg.rmi.RemoteZMCommandAction" method="turnOffZm" />
		<action name="readZmStatus" class="com.szpg.rmi.RemoteZMCommandAction" method="readZmStatus" />
		
		<!-- 水泵控制接口 -->
		<action name="readSbStatus" class="com.szpg.rmi.RemoteSBCommandAction" method="readSbStatus" />
		
		<!-- 井盖控制接口 -->
		<action name="readJgStatus" class="com.szpg.rmi.RemoteJGCommandAction" method="readJgStatus" />
		<action name="unlockJg" class="com.szpg.rmi.RemoteJGCommandAction" method="unlockJg" />
		<action name="lockJg" class="com.szpg.rmi.RemoteJGCommandAction" method="lockJg" />
		
		<!-- 对射控制接口 -->
		<action name="readDsStatus" class="com.szpg.rmi.RemoteDSCommandAction" method="readDsStatus" />
		<action name="clearDsAlarm" class="com.szpg.rmi.RemoteDSCommandAction" method="clearDsAlarm" />
	</package>
</struts>