Skip to content

Commit

Permalink
use external empty-epsilon-js and open-epsilon
Browse files Browse the repository at this point in the history
  • Loading branch information
amir-arad committed Feb 2, 2018
1 parent e6ab41c commit 3a10eec
Show file tree
Hide file tree
Showing 26 changed files with 80 additions and 1,478 deletions.
2 changes: 1 addition & 1 deletion src/ecr/commands.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {normInputString, Request, withUser} from "../session/command-utils";
import {RootModuleBuilder} from "@fugazi/connector/scripts/bin/components";
import {EcrModuleClient} from "./rpc";
import {ESystem} from "../empty-epsilon/model";
import {ESystem} from "empty-epsilon-js";
import {Entries} from "../excalibur/entries";
import {User} from "../session/users";

Expand Down
3 changes: 1 addition & 2 deletions src/ecr/driver.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Driver} from "./logic";
import {ESystem, ESystemNames} from "../empty-epsilon/model";
import {ESystem, ESystemNames, EEDriverWithHooks} from "empty-epsilon-js";
import {Observable} from "rxjs";
import {EEDriverWithHooks} from "../empty-epsilon/driver";

export const repair_per_second = 0.007;
export const heat_per_second = 0.05 * /* heat_sanity_factor */ 0.28;
Expand Down
5 changes: 2 additions & 3 deletions src/ecr/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import {EEDriverWithHooks} from "../empty-epsilon/driver";
import {EEDriverWithHooks, ESystem} from "empty-epsilon-js";
import {EcrDriver} from "./driver";
import {EcrLogic, lowercaseInfraSystemNames} from "./logic";
import {OscDriver} from "../osc/osc-driver";
import {ESystem} from "../empty-epsilon/model";
import {OscDriver} from "open-epsilon";
import {MetaArgument, OscMessage} from "osc";
import {Observable, Subscription} from "rxjs";
import {EcrModel, EcrState, ESwitchBoard} from "./model";
Expand Down
4 changes: 2 additions & 2 deletions src/ecr/logic.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {PrimarySystem, PrimarySystemStatus, EcrModel, SwitchBoard, SwitchBoardStatus, ESwitchBoard} from "./model";
import {ESystem} from "../empty-epsilon/model";
import {PrimarySystemStatus, EcrModel, SwitchBoard, SwitchBoardStatus, ESwitchBoard} from "./model";
import {ESystem} from "empty-epsilon-js";
import {setTimedInterval} from "../core/timing";
import {Observable} from "rxjs/Observable";

Expand Down
2 changes: 1 addition & 1 deletion src/ecr/model.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ESystem} from "../empty-epsilon/model";
import {ESystem} from "empty-epsilon-js";

export interface PrimarySystemStatus {

Expand Down
2 changes: 1 addition & 1 deletion src/ecr/rpc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as rpc from 'json-rpc2';
import * as net from "net";
import {ESystem} from "../empty-epsilon/model";
import {ESystem} from "empty-epsilon-js";
import {EcrModule} from "./index";

export type Options = {
Expand Down
255 changes: 0 additions & 255 deletions src/empty-epsilon/driver.ts

This file was deleted.

24 changes: 0 additions & 24 deletions src/empty-epsilon/model.ts

This file was deleted.

Loading

0 comments on commit 3a10eec

Please sign in to comment.