package ng.devices; public interface IoBlock { //´ÓÊý¾Ý¿éÖ¸¶¨µØÖ·¶ÁÈ¡count¸ö×Ö½ÚµÄÊý¾Ý public String read(int Address,int count,byte[] buffer,int offset,byte command); //ÏòÊý¾Ý¿éÖ¸¶¨µØÖ·Ð­Òécount¸ö×Ö½ÚµÄÊý¾Ý public String write(int Address,int count,byte[] buffer,int offset); //Êý¾Ý¿éÊÇ·ñ¿ÉÓÃ(δÁ¬½Ó½«²»¿ÉÓÃ) public boolean IsEnable(); //Á¬½ÓÊý¾Ý¿é public void connect(); //¶Ï¿ªÊý¾Ý¿é public void close(); }