package com.seewo.adbcommons.model;

import android.os.Parcel;
import android.os.Parcelable;
import com.seewo.adbcommons.model.base.BaseCmdMsg;
import com.seewo.adbcommons.model.base.BaseCmdMsgRemote;

/* JADX INFO: loaded from: classes.dex */
public class CmdPanelEvent extends BaseCmdMsgRemote {
    public static final Parcelable.Creator<CmdPanelEvent> CREATOR = new Parcelable.Creator<CmdPanelEvent>() { // from class: com.seewo.adbcommons.model.CmdPanelEvent.1
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public CmdPanelEvent createFromParcel(Parcel parcel) {
            return new CmdPanelEvent(parcel);
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public CmdPanelEvent[] newArray(int i2) {
            return new CmdPanelEvent[i2];
        }
    };
    public static final int EVENT_CODE_ACT_PANEL_TYPE = 2;
    public static final int EVENT_CODE_REQUEST_PANEL_TYPE = 1;
    public static final int TYPE_TYPE_FHD = 1;
    public static final int TYPE_TYPE_UD = 12;
    public int mEventCode;
    public int mPanelIndex;

    public CmdPanelEvent() {
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    @Override // com.seewo.adbcommons.model.base.BaseCmdMsg
    protected int getActionIDFromChild() {
        return 119;
    }

    @Override // com.seewo.adbcommons.model.base.BaseCmdMsg
    protected void handleDecode(BaseCmdMsg baseCmdMsg) {
        CmdPanelEvent cmdPanelEvent = (CmdPanelEvent) baseCmdMsg;
        this.mEventCode = cmdPanelEvent.mEventCode;
        this.mPanelIndex = cmdPanelEvent.mPanelIndex;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i2) {
        parcel.writeInt(this.mEventCode);
        parcel.writeInt(this.mPanelIndex);
    }

    protected CmdPanelEvent(Parcel parcel) {
        this.mEventCode = parcel.readInt();
        this.mPanelIndex = parcel.readInt();
    }
}
