Created
September 16, 2019 21:11
-
-
Save clarkmcc/47ac2c44ed14df51db444b7a0e40d68a to your computer and use it in GitHub Desktop.
Test New Meter Read Format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const myMeterRead = new MeterRead({ | |
'reportDtTm' : null, | |
'pageCounts' : { | |
'equiv' : { | |
'total' : { | |
'displayName' : 'Total', | |
'value' : 6660 | |
}, | |
'totalBlack' : { | |
'displayName' : 'Total Black', | |
'value' : 2127 | |
}, | |
'totalBlackCopies' : { | |
'displayName' : 'Total Black Copies', | |
'value' : 264 | |
}, | |
'totalBlackPrints' : { | |
'displayName' : 'Total Black Prints', | |
'value' : 1330 | |
}, | |
'totalColor' : { | |
'displayName' : 'Total Color', | |
'value' : 4533 | |
}, | |
'totalColorCopies' : { | |
'displayName' : 'Total Color Copies', | |
'value' : 122 | |
}, | |
'totalColorPrints' : { | |
'displayName' : 'Total Color Prints', | |
'value' : 4411 | |
}, | |
'totalCopies' : { | |
'displayName' : 'Total Copies', | |
'value' : 386 | |
}, | |
'totalPrints' : { | |
'displayName' : 'Total Prints', | |
'value' : 5741 | |
}, | |
'totalScan' : { | |
'displayName' : 'Total Scans', | |
'value' : 1536 | |
}, | |
'type' : { | |
'displayName' : 'Meter Counts', | |
'value' : 'non-equiv' | |
} | |
}, | |
'non-equiv' : { | |
'total' : { | |
'displayName' : 'Total', | |
'value' : 6660 | |
}, | |
'totalBlack' : { | |
'displayName' : 'Total Black', | |
'value' : 2127 | |
}, | |
'totalBlackCopies' : { | |
'displayName' : 'Total Black Copies', | |
'value' : 264 | |
}, | |
'totalBlackPrints' : { | |
'displayName' : 'Total Black Prints', | |
'value' : 1330 | |
}, | |
'totalColor' : { | |
'displayName' : 'Total Color', | |
'value' : 4533 | |
}, | |
'totalColorCopies' : { | |
'displayName' : 'Total Color Copies', | |
'value' : 122 | |
}, | |
'totalColorPrints' : { | |
'displayName' : 'Total Color Prints', | |
'value' : 4411 | |
}, | |
'totalCopies' : { | |
'displayName' : 'Total Copies', | |
'value' : 386 | |
}, | |
'totalPrints' : { | |
'displayName' : 'Total Prints', | |
'value' : 5741 | |
} | |
} | |
}, | |
'supplies' : { | |
'blackToner' : { | |
'color' : { | |
'displayName' : 'Color', | |
'value' : 'black' | |
}, | |
'expectedYield' : { | |
'displayName' : 'Expected Yield', | |
'value' : 650 | |
}, | |
'pctRemaining' : { | |
'displayName' : 'Percent Remaining', | |
'value' : 0 | |
}, | |
'type' : { | |
'displayName' : 'Type', | |
'value' : 'toner' | |
} | |
}, | |
'cyanToner' : { | |
'color' : { | |
'displayName' : 'Color', | |
'value' : 'cyan' | |
}, | |
'pctRemaining' : { | |
'displayName' : 'Percent Remaining', | |
'value' : 0 | |
}, | |
'type' : { | |
'displayName' : 'Type', | |
'value' : 'toner' | |
} | |
}, | |
'magentaToner' : { | |
'color' : { | |
'displayName' : 'Color', | |
'value' : 'magenta' | |
}, | |
'pctRemaining' : { | |
'displayName' : 'Percent Remaining', | |
'value' : 0 | |
}, | |
'type' : { | |
'displayName' : 'Type', | |
'value' : 'toner' | |
} | |
}, | |
'yellowToner' : { | |
'color' : { | |
'displayName' : 'Color', | |
'value' : 'yellow' | |
}, | |
'pctRemaining' : { | |
'displayName' : 'Percent Remaining', | |
'value' : 0 | |
}, | |
'type' : { | |
'displayName' : 'Type', | |
'value' : 'toner' | |
} | |
} | |
}, | |
'avgFill' : 3.307, | |
'avgColorFill' : null, | |
'installKey' : '1114-543-7772-001708518AA1' | |
}); | |
console.dir(myMeterRead, {depth: null, colors: true}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment