cmseaton42 / node-ethernet-ip

A Lightweight Ethernet/IP API written to interface with Rockwell ControlLogix/CompactLogix Controllers.
MIT License
265 stars 106 forks source link

bugfix #37

Closed jhenson29 closed 6 years ago

jhenson29 commented 6 years ago

Tag.unstageWriteRequest had an incorrect reference to Tag.state.tag.controllerValue

Description, Motivation, and Context

Incorrect referenced caused tag.value to be undefined in some cases. (If the same value was written to the PLC two times in a row).

How Has This Been Tested?

Tested with writes to PLC.

Screenshots (if appropriate):

Types of changes

Checklist:

Related Issue

Fixes #36

coveralls commented 6 years ago

Pull Request Test Coverage Report for Build 108


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/tag/index.js 0 3 0.0%
<!-- Total: 0 3 0.0% -->
Totals Coverage Status
Change from base Build 107: -0.04%
Covered Lines: 472
Relevant Lines: 883

💛 - Coveralls
cmseaton42 commented 6 years ago

Awesome, thanks for the fix! I'll pull this when I'm back in front of my computer today :)