You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import {AppClass} from './AppClass';
|
|
|
|
export enum UnitStatus {
|
|
Starting,
|
|
Started,
|
|
Stopping,
|
|
Stopped,
|
|
Error,
|
|
}
|
|
|
|
export abstract class Unit extends AppClass {
|
|
public status: UnitStatus = UnitStatus.Stopped
|
|
public up(): Promise<void> | void {}
|
|
public down(): Promise<void> | void {}
|
|
}
|