@things-factory/node-casscale

0.0.4 • Public • Published

@things-factory/node-casscale

TRobot FDC client module for nodejs.

Install

$ npm install @things-factory/node-casscale --save

Examples

Run the examples from the examples directory.

const { TRobotFdcClient } = require('@things-factory/node-casscale')
const { sleep } = require('../build/utils')

;(async function () {
  var client = new TRobotFdcClient('localhost', 8000)
  await client.connect()
  console.log('connected')
  await sleep(1000)

  let resp = await client.getActq()
  console.log('ACTQ: ', resp)
  await sleep(1000)

  resp = await client.getAptq()
  console.log('APTQ: ', resp)
  await sleep(1000)

  resp = await client.getActm()
  console.log('ACTM: ', resp)
  await sleep(1000)

  resp = await client.getApos()
  console.log('APOS: ', resp)
  await sleep(1000)

  client.disconnect()
  console.log('disconnected')
})()

API Documentation

...

Test

npm test.

/@things-factory/node-casscale/

    Package Sidebar

    Install

    npm i @things-factory/node-casscale

    Weekly Downloads

    52

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    2.76 MB

    Total Files

    4488

    Last publish

    Collaborators

    • youngwook
    • shortstop
    • nalshya113
    • woo_ram
    • jinwon_in_hatio
    • jyp220
    • heartyoh
    • horwengliang95
    • chris_lim7150
    • joekin
    • jinwon