| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- namespace crusherScanner
- {
- public struct Samples
- {
- public string Sid;
- public string Job;
- public bool Pyrite;
- public bool Plastic;
- public bool Manganese;
- public bool HammerOil;
- public bool scanned;
- }
- public struct Scan
- {
- public string barcode; // Original scanned barcode.
- public string sampleType; // Null, RCA, RCB, etc.
- public bool isInLims; // Does this sample exist in LIMS.
- public string message; // Reply message to the user.
- public bool messageState; // Is the reply message good or an error.
- public int BufferCount; // Count of how many samples in memory cache.
- public bool Contaminated; // Does this sample contain Contaminates.
- public bool SampleNotFound; // Unable to find this sample in job files.
- public int JobTotal; // Total number of samples in the job.
- public int JobCount; // Number of samples scanned in the job.
- public Samples sampleData; // Sample details ie. contaminates, job, etc.
- }
- public struct Settings
- {
- public string PrepmasterMagazineSerial { get; set; }
- public string OreDefInFile { get; set; }
- public string OreDefOutFile { get; set; }
- public string OreDefWorkFile { get; set; }
- public int CrusherNo { get; set; }
- public string OutputFormat { get; set; }
- public string OreDefTypes { get; set; }
- public bool LimsConnection { get; set; }
- public string LimsConnString { get; set; }
- public bool PrepmasterConnection { get; set; }
- public bool LoggingDebug { get; set; }
- public bool LoggingInfo { get; set; }
- public bool LoggingWarning { get; set; }
- public bool LoggingError { get; set; }
- }
- public struct Logs
- {
- public DateTime dateStamp;
- public string logLevel;
- public string message;
- }
- enum LogLevel
- {
- Error = 0,
- Warning = 1,
- Information = 2,
- Debug = 3
- }
-
- }
|