serialize method
Implementation
@override
ByteData serialize() {
var data_ = ByteData(mavlinkEncodedLength);
data_.setUint64(0, mpptTimestamp, Endian.little);
data_.setFloat32(8, mppt1Volt, Endian.little);
data_.setFloat32(12, mppt1Amp, Endian.little);
data_.setFloat32(16, mppt2Volt, Endian.little);
data_.setFloat32(20, mppt2Amp, Endian.little);
data_.setFloat32(24, mppt3Volt, Endian.little);
data_.setFloat32(28, mppt3Amp, Endian.little);
data_.setUint16(32, mppt1Pwm, Endian.little);
data_.setUint16(34, mppt2Pwm, Endian.little);
data_.setUint16(36, mppt3Pwm, Endian.little);
data_.setUint8(38, mppt1Status);
data_.setUint8(39, mppt2Status);
data_.setUint8(40, mppt3Status);
return data_;
}