Transfer data from battery to qgc

In my case, I looked at the above classes to pass battery information to PX4(onSITL) → QGC → Arduino.
UML was written with QtCreator’s Model Editor, but I’m not familiar with UML, so the picture may be inaccurate. I don’t know if it will be helpful.