package com.ubt.jimu.base.data; /* loaded from: classes.dex */ public abstract class Engine implements Comparable { public static final int DIRECTION_CLOCK = 1; public static final int DIRECTION_DISCLOCK = -1; private int id; private int direction = 1; private boolean isConfigged = false; public Engine(int i) { this.id = i; } public int getDirection() { return this.direction; } public int getId() { return this.id; } public abstract CtrlMotionType getMotionType(); public boolean isConfigged() { return this.isConfigged; } public void setConfigged(boolean z) { this.isConfigged = z; } public void setDirection(int i) { this.direction = i; } public String toString() { return "Engine{id=" + this.id + " type=" + getMotionType() + '}'; } }