| 123456789101112131415161718192021222324 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace crusherScanner
- {
- internal class SerialAccess
- {
- //Serial stuff
- //https://www.c-sharpcorner.com/UploadFile/eclipsed4utoo/communicating-with-serial-port-in-C-Sharp/
- public static void SendToPrepmaster(string barcode)
- {
- if(barcode != "" || !Properties.Settings.Default.PrepmasterConnection)
- {
- MessageBox.Show($"The crusher flap would\nhave just opened to\naccept sample {barcode}","Crusher Input");
- }
- return;
- }
- }
- }
|