Exemple #1
0
 //设置调节阀流量限定
 public byte[] Set_valvelimit(Set_valvelimit sv)
 {
     int[] ef = { sv._enable, sv._valvelimit};
     return setdata(153, ef);
 }
Exemple #2
0
 //解析流量限定
 public Set_valvelimit Read_valvelimit(byte[] inByte)
 {
     Set_valvelimit svl = new Set_valvelimit();
     svl._enable = DataInfo.GetLongValue2(inByte, 3);
     svl._valvelimit = DataInfo.GetLongValue2(inByte, 5);
     return svl;
 }