roaster_core 1.0.140
Loring Roaster Core Library
A comprehensive .NET library for interfacing with Loring Smart Roast coffee roasting equipment and managing roasting data, recipes, and device communications.
Overview
The Loring Roaster Core Library provides a robust foundation for building applications that interface with Loring's professional coffee roasting equipment. It includes comprehensive support for:
- Device Communication: Modbus TCP/RTU, OPC, Serial, and network protocols
- Recipe Management: Loading, saving, and managing roast profiles and recipes
- Data Acquisition: Real-time data collection and roast logging
- File Format Support: Native Loring file formats (.lrcp, .lcfg, .csv)
- Hardware Abstraction: Unified interface for different roaster models (S15, S35, S70, etc.)
Installation
Install the package via NuGet Package Manager:
dotnet add package roaster_core
Or via Package Manager Console:
Install-Package roaster_core
Quick Start
Basic Device Connection
using roaster_core.InterfaceLibrary.Device;
using roaster_core.InterfaceLibrary.LSRConnections;
// Create a TCP connection to your roaster
var connection = new LSRTCP("192.168.1.100", 502);
var roaster = new Loring2Dot4Roaster(connection);
// Connect and start data acquisition
await roaster.ConnectAsync();
var temperature = roaster.BeanTemperature.Value;
Recipe Management
using roaster_core.FileFormats;
// Load a recipe file
var recipe = Recipe2XBase.LoadFromFile("my-roast-profile.lrcp");
// Access recipe properties
Console.WriteLine($"Recipe: {recipe.RecipeName}");
Console.WriteLine($"Batch Size: {recipe.BatchSize} lbs");
// Modify and save
recipe.Notes = "Updated roast profile";
recipe.SaveToFile("updated-profile.lrcp");
Data Logging
using roaster_core.InterfaceLibrary.DataAq;
// Set up data acquisition engine
var dataEngine = new DA_HBEngineRRCSV(roaster);
dataEngine.StartLogging("roast-log.csv");
// Log data points during roast
dataEngine.LogDataPoint();
Core Components
Device Interface Layer
- DeviceInterface: Base abstraction for all roaster devices
- LSRTCP/LSRSerial: Communication protocol implementations
- Modbus Support: Native Modbus TCP/RTU client implementations
File Format Support
- Recipe2XBase: Loring recipe file (.lrcp) management
- LSR Configuration: Device configuration files (.lcfg)
- CSV Data: Roast Reporter log file parsing and generation
Data Management
- RoastAnnotation: Time-based roast event markers
- ValueAtTimePoint: Temperature and sensor data points
- SignalArrayType: Real-time signal processing
Hardware Abstraction
- HBRoaster: High-level roaster control interface
- TagStore: Unified tag-based data access
- PollingSession: Automatic data collection management
Supported Hardware
- Loring S15: 15kg capacity roasters
- Loring S35: 35kg capacity roasters
- Loring S70: 70kg capacity roasters
- Legacy Models: Support for older firmware versions
- Multiple Protocols: Modbus TCP/RTU, OPC UA, Serial RS-485
Configuration
The library supports multiple configuration approaches:
// Load device configuration
var config = DeviceConfig.LoadFromFile("roaster.config");
// Manual configuration
var roaster = new Loring2Dot4Roaster("192.168.1.100", 502)
{
PollRate = TimeSpan.FromMilliseconds(500),
EnableDataLogging = true
};
Advanced Features
- Real-time Data Streaming: Sub-second data acquisition rates
- Recipe Validation: Automatic profile validation and error checking
- Network Discovery: Automatic roaster detection on local networks
- Batch Processing: Support for multi-batch roasting operations
- Extensible Architecture: Plugin-based device support
Documentation
Full API documentation is included with IntelliSense support. Key namespaces:
roaster_core.FileFormats- File I/O and data structuresroaster_core.InterfaceLibrary- Device communicationroaster_core.Managers- High-level control interfacesroaster_core.Models- Data models and types
Requirements
- .NET Standard 2.0 or higher
- Windows, Linux, or macOS
- Network connectivity to roaster equipment (for networked models)
Support
This library is designed for integration with Loring Smart Roast equipment. For technical support and documentation:
- Review the comprehensive XML documentation included with the package
- Consult your Loring equipment documentation
- Contact Loring technical support for hardware-specific questions
License
Copyright © 2024-2025 Loring, Inc. All rights reserved.
Loring Smart Roast - Professional Coffee Roasting Solutions
No packages depend on roaster_core.
.NET Standard 2.0
- CsvHelper (>= 33.0.1)
- System.Text.Json (>= 8.0.5)
- System.IO.Ports (>= 8.0.0)
- System.IO.FileSystem.AccessControl (>= 5.0.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- Opc.UaFx.Client (>= 2.26.0)
- Newtonsoft.Json (>= 13.0.3)
- NModbus.Serial (>= 3.0.81)
- NModbus (>= 3.0.81)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- MathNet.Numerics (>= 5.0.0)
- MathNet.Filtering (>= 0.7.0)
- Loring.Logging (>= 1.0.60)
- LSRBeijeriXCFLib (>= 1.0.69)
- FluentFTP (>= 52.0.0)
- CsvTextFieldParser (>= 1.2.2)
- Microsoft.VisualBasic (>= 10.3.0)
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.140 | 4 | 11/18/2025 |
| 1.0.139 | 3 | 10/12/2025 |
| 1.0.138 | 1 | 10/12/2025 |
| 1.0.137 | 5 | 09/15/2025 |
| 1.0.136 | 4 | 09/02/2025 |
| 1.0.135 | 3 | 08/21/2025 |
| 1.0.133 | 5 | 08/19/2025 |
| 1.0.132 | 4 | 08/18/2025 |
| 1.0.131 | 7 | 07/29/2025 |
| 1.0.130 | 6 | 07/22/2025 |
| 1.0.129 | 6 | 07/09/2025 |
| 1.0.128 | 2 | 07/09/2025 |
| 1.0.127 | 6 | 07/08/2025 |
| 1.0.126 | 6 | 07/03/2025 |
| 1.0.125 | 4 | 07/03/2025 |
| 1.0.124 | 3 | 07/03/2025 |
| 1.0.123 | 4 | 07/03/2025 |
| 1.0.122 | 6 | 06/23/2025 |
| 1.0.121 | 3 | 06/23/2025 |
| 1.0.120 | 5 | 06/23/2025 |
| 1.0.119 | 5 | 06/16/2025 |
| 1.0.118 | 5 | 06/16/2025 |
| 1.0.117 | 9 | 05/13/2025 |
| 1.0.116 | 4 | 05/12/2025 |
| 1.0.115 | 5 | 04/22/2025 |
| 1.0.114 | 3 | 04/22/2025 |
| 1.0.113 | 5 | 04/17/2025 |
| 1.0.112 | 5 | 04/15/2025 |
| 1.0.111 | 3 | 04/14/2025 |
| 1.0.110 | 4 | 02/27/2025 |
| 1.0.109 | 3 | 02/26/2025 |
| 1.0.108 | 6 | 02/21/2025 |
| 1.0.107 | 7 | 02/05/2025 |
| 1.0.106 | 5 | 02/04/2025 |
| 1.0.105 | 14 | 01/03/2025 |
| 1.0.104 | 10 | 01/02/2025 |
| 1.0.103 | 5 | 12/31/2024 |
| 1.0.102 | 12 | 12/29/2024 |
| 1.0.101 | 2 | 12/29/2024 |
| 1.0.100 | 5 | 12/27/2024 |
| 1.0.99 | 2 | 12/27/2024 |
| 1.0.98 | 2 | 12/27/2024 |
| 1.0.97 | 2 | 12/27/2024 |
| 1.0.96 | 2 | 12/27/2024 |
| 1.0.95 | 2 | 12/27/2024 |
| 1.0.94 | 3 | 12/27/2024 |
| 1.0.93 | 2 | 12/27/2024 |
| 1.0.92 | 2 | 12/27/2024 |
| 1.0.85 | 2 | 12/27/2024 |
| 1.0.81 | 3 | 12/24/2024 |
| 1.0.80 | 20 | 12/17/2024 |
| 1.0.79 | 4 | 12/16/2024 |
| 1.0.77 | 6 | 12/05/2024 |
| 1.0.76 | 4 | 12/04/2024 |
| 1.0.75 | 3 | 12/04/2024 |
| 1.0.74 | 3 | 12/04/2024 |
| 1.0.73 | 6 | 12/03/2024 |
| 1.0.72 | 2 | 12/03/2024 |
| 1.0.71 | 26 | 11/26/2024 |
| 1.0.70 | 2 | 11/26/2024 |
| 1.0.68 | 3 | 11/25/2024 |
| 1.0.65 | 19 | 11/19/2024 |
| 1.0.64 | 2 | 11/19/2024 |
| 1.0.63 | 3 | 11/19/2024 |
| 1.0.62 | 5 | 11/19/2024 |
| 1.0.61 | 4 | 11/13/2024 |
| 1.0.60 | 3 | 11/13/2024 |
| 1.0.59 | 3 | 11/12/2024 |
| 1.0.58 | 4 | 11/07/2024 |
| 1.0.57 | 3 | 11/07/2024 |
| 1.0.56 | 3 | 11/07/2024 |
| 1.0.54 | 36 | 10/29/2024 |
| 1.0.53 | 26 | 09/26/2024 |
| 1.0.52 | 3 | 09/26/2024 |
| 1.0.51 | 3 | 09/25/2024 |
| 1.0.50 | 3 | 09/25/2024 |
| 1.0.49 | 3 | 09/24/2024 |
| 1.0.48 | 3 | 09/24/2024 |
| 1.0.46 | 3 | 09/21/2024 |
| 1.0.45 | 2 | 09/21/2024 |
| 1.0.44 | 3 | 09/20/2024 |
| 1.0.43 | 4 | 09/16/2024 |
| 1.0.42 | 2 | 09/11/2024 |
| 1.0.41 | 5 | 09/11/2024 |
| 1.0.40 | 5 | 09/11/2024 |
| 1.0.39 | 5 | 09/11/2024 |
| 1.0.38 | 4 | 09/09/2024 |
| 1.0.36 | 2 | 09/09/2024 |
| 1.0.35 | 4 | 09/06/2024 |
| 1.0.34 | 3 | 09/06/2024 |
| 1.0.33 | 4 | 09/05/2024 |
| 1.0.32 | 4 | 09/05/2024 |
| 1.0.30 | 4 | 09/03/2024 |
| 1.0.28 | 4 | 08/28/2024 |
| 1.0.27 | 2 | 08/27/2024 |
| 1.0.26 | 5 | 08/18/2024 |
| 1.0.25 | 5 | 07/29/2024 |
| 1.0.24 | 3 | 07/29/2024 |
| 1.0.23 | 2 | 07/29/2024 |
| 1.0.22 | 4 | 07/27/2024 |
| 1.0.21 | 3 | 07/23/2024 |
| 1.0.20 | 3 | 07/23/2024 |
| 1.0.19 | 4 | 07/23/2024 |
| 1.0.18 | 3 | 07/23/2024 |
| 1.0.17 | 5 | 07/22/2024 |
| 1.0.16 | 4 | 07/21/2024 |
| 1.0.15 | 4 | 07/16/2024 |
| 1.0.14 | 4 | 07/09/2024 |
| 1.0.13 | 3 | 07/08/2024 |
| 1.0.12 | 5 | 07/08/2024 |
| 1.0.11 | 3 | 06/30/2024 |
| 1.0.10 | 5 | 06/16/2024 |
| 1.0.9 | 3 | 06/16/2024 |
| 1.0.8 | 3 | 06/10/2024 |
| 1.0.7 | 3 | 06/09/2024 |
| 1.0.6 | 4 | 06/02/2024 |
| 1.0.5 | 3 | 05/27/2024 |
| 1.0.3 | 3 | 05/15/2024 |
| 1.0.0-745 | 2 | 12/27/2024 |