zsh_root
2024-01-02 7b595546af704983dbafcd0d385c8768ddacefc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package monitorGas;
 
import PbuliClass.Systems;
 
public class Dell_Gas {
 
    /**´¦ÀíÆøÌ屨ÎÄ*/
    public static void dellgas(String hex,String ip,int port) {
        if(hex.startsWith("0103")|| hex.startsWith("0203")|| hex.startsWith("0303") ) {
            dell_gas(hex,ip);
        }
    }
    
    /**´¦ÀíÆøÌåÊý¾Ý*/
    public  static void  dell_gas(String infom,String ip) {
        //Èç¹û¿ªÆôÆøÌå¼àÌý            
        if(Systems.isGasopen() && infom.length()>140) {    
//            ReadGas.dell_gas_data(ip,infom);
            ReadGas.dell_gas2_data_new(ip,infom);
        }
    }
 
}