UNPKG

rubick

Version:

tools for mtc

40 lines (33 loc) 698 B
/** * Created by hongzhiyuan on 2017/5/11. */ "use strict" let os = require('os'); let co = require('co'); let logger = require('../../log').init('rubick'); class ReplayManager { /** * 构造方法 * * @param {String} serial * @param {String} adbStatus */ constructor() { this.serial = serial; this.host = 'local'; this.base_host = os.hostname(); this.io = null; this.init(); this._adbStatus = adbStatus; } /** * 设备初始化 * */ init() { } get adbStatus() { return this._adbStatus; } } module.exports = ReplayManager;