From 09d3c1ee628a5b7f894c987abfcd1edccbc07294 Mon Sep 17 00:00:00 2001 From: Johan Nyman Date: Mon, 28 May 2018 08:59:34 +0200 Subject: [PATCH] Feat: getRunningOrder --- src/coreHandler.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/coreHandler.ts b/src/coreHandler.ts index 06bf82e..50f11f0 100644 --- a/src/coreHandler.ts +++ b/src/coreHandler.ts @@ -282,6 +282,18 @@ export class CoreMosDeviceHandler { throw err }) } + triggerGetRunningOrder (roId: string): Promise { + console.log('triggerGetRunningOrder') + return this._mosDevice.getRunningOrder(new MosString128(roId)) + .then((results) => { + // console.log('GOT REPLY', results) + return results + }) + .catch((err) => { + console.log('GOT ERR', err, typeof err, err.toString()) + throw err + }) + } test (a: string) { return new Promise(resolve => { setTimeout(() => {