/*
 * Decompiled with CFR 0_132.
 */
package signals;

import java.awt.Color;
import java.io.PrintStream;
import signals.Signals;

public final class AdaptSignals
extends Signals {
    private static final long serialVersionUID = 1L;

    public AdaptSignals(Signals s) {
        this.id = s.id;
        this.widthUnit = s.widthUnit;
        this.name = s.name;
        this.setUpTime = s.setUpTime;
        this.bus = s.bus;
        this.clock = s.clock;
        this.dependsOnClk = s.dependsOnClk;
        this.selected_for_edit = s.selected_for_edit;
        this.clkToQdelay = s.clkToQdelay;
        this.wave = s.wave;
        this.busNames = s.busNames;
        this.busFill = s.busFill;
        this.ratio = s.ratio;
        this.clockDomainId = s.clockDomainId;
        this.displayRisingEdges = s.displayRisingEdges;
        if (this.wave.length < 500) {
            System.out.println("Wave size conversion");
            int[] tempWave = this.wave;
            String[] tempbusNames = this.busNames;
            boolean[] tempbusFill = this.busFill;
            this.wave = new int[500];
            this.busNames = new String[500];
            this.busFill = new boolean[500];
            int i = 0;
            while (i < 500) {
                if (i < 200) {
                    this.wave[i] = tempWave[i];
                    this.busNames[i] = tempbusNames[i];
                    this.busFill[i] = tempbusFill[i];
                } else {
                    this.wave[i] = 0;
                }
                ++i;
            }
        }
        if (Boolean.valueOf(s.bold) != null) {
            this.bold = s.bold;
        }
        if (s.color != null) {
            this.color = s.color;
        }
    }

    @Override
    public void generate(boolean beginOnRisingEdge) {
    }
}

