武汉科领多媒体有限公司
专注于各类互动多媒体——专业AR/VR/MR/XR供应商
联系方式 手机微信同号

综合类:18995652243 周经理


综合类:18971459461 何经理


投   诉15377087483 吴经理


座 机:   027-59713238


Q Q:2744143383 周经理


Q Q:2147131837 何经理


Q Q:2677521476 投诉


Q Q:   315743215 采购








中控命令xml模板

发表时间:2017-09-21 16:21

<Commands id = "1" >
        <command type="video">         
          <ip>127.0.0.1</ip>
          <order>pause</order>   <!--暂停-->
          <value>0</value>
        </command>
    </Commands>


  <Commands id = "2" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>playmode</order>       <!--循环播放-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "3" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>playmode</order>     <!--单个循环播放-->
      <value>1</value>
    </command>
  </Commands>


<Commands id = "4" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>volumnIncrease</order>   <!--音量增大-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "5" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>volumnDecrease</order>   <!--音量减少-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "6" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>volumnMuteOn</order>   <!--静音-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "7" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>volumnMuteOff</order>   <!--恢复声音-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "8" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>playPre</order>   <!--上一个视频-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "9" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>playNext</order>   <!--下一个视频-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "10" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>speed</order>   <!--快进-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "11" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>Rewind</order>   <!--快退-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "12" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>play</order>   <!--播放-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "208" >
    <command type="video">          <!--播放第17个视频-->
      <ip>192.168.0.17</ip>
      <order>playindex</order>                             
      <value>17</value>
    </command>
  </Commands>


<Commands id = "13" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>pause</order>   <!--暂停-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "14" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>stop</order>   <!--停止-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "15" >
    <command type="video">
      <ip>127.0.0.1</ip>
      <order>resume</order>   <!--恢复播放-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "16" >
    <command type="PCCommand">
      <ip>127.0.0.1</ip>
      <order>openprocess</order>     <!--打开进程-->
      <value>d:\1.exe</value>
    </command>
  </Commands>


<Commands id = "17" >
    <command type="PCCommand">
      <ip>127.0.0.1</ip>
      <order>closeprocess</order>    <!--关闭进程-->
      <value>1.exe</value>
    </command>
  </Commands>


<Commands id = "18" >
    <command type="PCCommand">
      <ip>127.0.0.1</ip>
      <order>shutdown</order>       <!--关机-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "19" >
    <command type="PCCommand">
      <ip>127.0.0.1</ip>
      <order>restart</order>     <!--重启-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "20" >
    <command type="PCCommand">
      <ip>192.168.1.23</ip>
      <order>systemVolIncrease</order>    <!--系统音量加-->
      <value>0</value>
    </command>
  </Commands>


  <Commands id = "21" >
<command type="PCCommand">
      <ip>192.168.1.23</ip>
      <order>systemVolDecrease</order>    <!--系统音量减-->
      <value>0</value>
    </command>
  </Commands>


<Commands id = "23" >                    <!--支持BENQ、EPSON、HITACHI、SNOY、Acer、NEC、Optoma等投影机,可以参考互动软件变频投影里的投影机型号-->
    <command type="projector">             <!--若此命令开不了投影,找到该投影的串口码,可使用下面第59号命令来控制-->
      <portnumber>3</portnumber>
      <product>BENQ</product>       <!--明基投影开-->
      <order>PowerOn</order>   
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "24" >
    <command type="projector">
      <portnumber>3</portnumber>
      <product>BENQ</product>      <!--明基投影关-->
      <order>PowerOff</order>
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "25" >
    <command type="projector">
      <portnumber>3</portnumber>
      <product>benq</product>          <!--信号切换到1-->
      <order>source1</order>
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "26" >
    <command type="projector">
      <portnumber>3</portnumber>
      <product>epson</product>
      <order>muteoff</order>           <!--epson快速黑屏-->
      <timedelay>0</timedelay>
    </command>
    <command type="projector">
      <portnumber>3</portnumber>
      <product>epson</product>
      <order>muteOn</order>            <!--epson快速亮屏-->
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "27" >
    <command type="PLC">                <!--继电器-->
      <portnumber>3</portnumber>        <!--串口 3-->
      <linenumber>2</linenumber>        <!--继电器第2路-->
      <state>1</state>                     <!--开-->
      <timedelay>0</timedelay>           
    </command>
  </Commands>


<Commands id = "28" >
  <command type="IR">
      <portnumber>3</portnumber>
      <channel>1</channel>
      <button>2</button>
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "29" >
    <command type="socket">
      <ip>127.0.0.1</ip>
      <port>6513</port>
      <data>effective</data>             <!--全局有效开-->
      <timedelay>0</timedelay>
    </command>
  </Commands>
 
  <Commands id = "30" >
    <command type="socket">
      <ip>127.0.0.1</ip>
      <port>6513</port>
      <data>ineffective</data>            <!--全局有效关-->
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "31" >
    <command type="CircuitFlash">             <!--电脑开-->
      <portnumber>1</portnumber>              <!--主机串口 1-->
      <subportnumber>7</subportnumber>        <!--串口服务器 第7路-->
      <linenumber>4</linenumber>              <!--plc第4路-->                       
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "32" >
  <command type="PCCommand">
    <ip>192.168.1.10</ip>
    <order>shutdown</order>               <!--电脑关-->
  </command>
  </Commands>


  <Commands id = "55" >                                               <!--手触-->             
    <command type="interactionplay">
      <ip>192.168.0.55</ip>
      <order>SwitchingToLaser</order>   
      <value>0</value>
    </command>
    <command type="PCCommand">
      <ip>192.168.0.55</ip>
      <order>closeprocess</order>
      <value>InteractProject.exe</value>
      <timedelay>1</timedelay>
    </command>
    <command type="PCCommand">
      <ip>192.168.0.55</ip>
      <order>openprocess</order>
      <value>d:\InteractiveSoft\InteractiveSoft\InteractProject.exe</value>
      <timedelay>2</timedelay>
    </command>
  </Commands>


<Commands id = "56" >                                       <!--笔触-->               
    <command type="interactionplay">
      <ip>192.168.0.55</ip>
      <order>SwitchingToSignPen</order>   
      <value>0</value>
    </command>
    <command type="PCCommand">
      <ip>192.168.0.55</ip>
      <order>closeprocess</order>
      <value>InteractProject.exe</value>
      <timedelay>1</timedelay>
    </command>
    <command type="PCCommand">
      <ip>192.168.0.55</ip>
      <order>openprocess</order>
      <value>d:\InteractiveSoft\InteractiveSoft\InteractProject.exe</value>
      <timedelay>2</timedelay>
    </command>
  </Commands>


 
  <Commands id = "203" >                 <!--快捷键-->
    <command type="PCCommand">
      <ip>127.0.0.1</ip>
      <order>shortcutkey</order>
      <value>17;115;</value>                 <!--键盘上的键的代码-->
      <timedelay>0</timedelay>
    </command>
  </Commands>


  <Commands id = "59" >                                 <!--奥图码投影开-->  
    <command type="com">                                     
      <portnumber>1</portnumber>
      <subportnumber>1</subportnumber>
      <data>0x7E3030303020310D</data>
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "60" >                                 <!--奥图码投影关-->  
    <command type="com">                                     
      <portnumber>1</portnumber>
      <subportnumber>1</subportnumber>
      <data>0x7E3030303020300D</data>
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "61" >                                       <!--继电器全开-->  
    <command type="com">                                     <!--灯全开-->
      <portnumber>1</portnumber>
      <subportnumber>6</subportnumber>
      <data>0x4F2830302C30302C312945</data>
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "62" >                                       <!--继电器全关-->  
    <command type="com">                                     <!--灯全关-->
      <portnumber>1</portnumber>
      <subportnumber>6</subportnumber>
      <data>0x4F2830302C30302C302945</data>
      <timedelay>0</timedelay>
    </command>
  </Commands>


<Commands id = "6000" >                                  <!--互动软件触发区命令号从6000开-->                                                 
   <command type="socket">                                 <!--实现IPAD界面与互动的界面同步-->
      <ip>192.168.0.100</ip>                                <!--IPAD的IP地址-->
      <port>9001</port>                                     <!--端口号-->
      <data>pad010000</data>                                 <!--发给IPAD的命令-->
      <timedelay>0</timedelay>  
    </command>

<command type="socket">                         
      <ip>192.168.0.13</ip>                                  <!--互动电脑的IP地址-->
      <port>10001</port>                                       <!--端口号-->
      <data>010000</data>                           
      <timedelay>0</timedelay>                                  <!--发给互动电脑的命令-->
    </command>
  </Commands>

<Commands id = "63" >                                   <!--幕布升 -->                           
    <command type="PLC">                                   <!--此命令是继电器控制电机的命令,分两路控制,其中一路开另一路关、设置好延时,可实现幕布升降、窗帘开关、电动门开关等 -->   
      <portnumber>6</portnumber>
      <subportnumber>4</subportnumber>                      <!--注意事项:使用这个继电器实现上述功能室,该继电器不能有全开和全关的命令,不然会烧电机 -->   
      <linenumber>8</linenumber>
      <state>0</state>
      <timedelay>1</timedelay>
    </command>
   
    <command type="PLC">
      <portnumber>6</portnumber>
      <subportnumber>4</subportnumber>
      <linenumber>7</linenumber>
      <state>1</state>
      <timedelay>2</timedelay>
    </command>
  </Commands>


  <Commands id = "64" >                                   <!--幕布降-->
    <command type="PLC">
      <portnumber>6</portnumber>
      <subportnumber>4</subportnumber>
      <linenumber>7</linenumber>
      <state>0</state>
      <timedelay>1</timedelay>
    </command>
    <command type="PLC">
      <portnumber>6</portnumber>
      <subportnumber>4</subportnumber>
      <linenumber>8</linenumber>
      <state>1</state>
      <timedelay>2</timedelay>
    </command>
  </Commands>


<Commands id = "65" >                                     <!--播放互动里的第三个效果-->
     <command type="interactionplay">
      <ip>192.168.0.77</ip>
      <order>playindex</order>   
      <value>3</value>
    </command>
    </Commands>


<Commands id = "66" >                                     <!--前一个游戏-->
    <command type="interactionplay">
      <ip>192.168.0.77</ip>
      <order>playPre</order>   
      <value>0</value>
    </command>
    </Commands>


<Commands id = "67" >                                     <!--后一个游戏-->
    <command type="interactionplay">
      <ip>192.168.0.77</ip>
      <order>playNext</order>   
      <value>0</value>
    </command>
    </Commands>
</App>


在线交流