示例#1
0
        public void getResponse(ref XBeeResponse response)
        {
            response.setMsbLength(_response.getMsbLength());
            response.setLsbLength(_response.getLsbLength());
            response.setApiId(_response.getApiId());
            response.setFrameLength(_response.getFrameDataLength());

            // Eliminar punteros de la siguiente funcion *********************************
            //response.setFrameData(_response.getFrameData());
        }
示例#2
0
 private void setCommon(ref XBeeResponse target)
 {
     target.setApiId(getApiId());
     target.setAvailable(isAvailable());
     target.setChecksum(getChecksum());
     target.setErrorCode(getErrorCode());
     target.setFrameLength(getFrameDataLength());
     target.setMsbLength(getMsbLength());
     target.setLsbLength(getLsbLength());
 }