i21 Electron - Scale integration using Electron to get the weight

Issue No: FRM-7985
Created 12/21/2018 8:56:14 AM
Type Feature
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.3
Description The scale service currently needs to send the weight to the main i21 server and then use SignalR to send it to the client. The problem with this approach is it can consume a lot of resources if the scale is busy like during harvest.   The goal is to eliminate this round trip and communicate directly with the client workstation running i21. The issue with this is that browser apps are sandboxed and do not allow direct communication with a device or file system.   An option to get around this is to use Electron which basically allows us to create a desktop app using web technologies for i21. This should then give us all the same privileges as a WinForms desktop app to where we can directly connect to the scale server and get the weight without affecting the main i21 server.   * Remove the dependency to SignalR * Remove the need for extra POST to server * Allow i21 client to listen directly to the scale * Allow the ability to directly print to a specific printer