
package project.baseNetwork.node.appl;

import org.mixim.base.modules.IBaseApplLayer;

simple DataGeneratorLayer like IBaseApplLayer
{
    parameters:
        @class(DataGeneratorLayer);
        // debug switch
        bool debug; // debug switch
        // length of the application message header (in bits)
        int headerLength @unit("bit"); // length of the application message header (in bits)

        double sensingTime = default(60); // time between two sensing

    gates:
        input lowerGateIn; // from network layer
        output lowerGateOut; // to network layer
        input lowerControlIn; // control from network layer
        output lowerControlOut; // control to network layer
}
