All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.simulator.launchland.AckHandler Maven / Gradle / Ivy

There is a newer version: 4.10.2
Show newest version
package org.yamcs.simulator.launchland;

import org.yamcs.simulator.CCSDSPacket;

public class AckHandler {

    public void fillAckPacket(CCSDSPacket packet, int commandReceived) {
        AckData entry = new AckData();
        entry.fillPacket(packet, 0, commandReceived);
    }

    public void fillExeCompPacket(CCSDSPacket packet, int battery, int commandReceived) {
        AckData entry = new AckData();

        if (1 <= battery && battery <= 3) {
            entry.fillPacket(packet, battery - 1, commandReceived);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy