ZeroUI.Core
1.8.1
dotnet add package ZeroUI.Core --version 1.8.1
NuGet\Install-Package ZeroUI.Core -Version 1.8.1
<PackageReference Include="ZeroUI.Core" Version="1.8.1" />
<PackageVersion Include="ZeroUI.Core" Version="1.8.1" />
<PackageReference Include="ZeroUI.Core" />
paket add ZeroUI.Core --version 1.8.1
#r "nuget: ZeroUI.Core, 1.8.1"
#:package ZeroUI.Core@1.8.1
#addin nuget:?package=ZeroUI.Core&version=1.8.1
#tool nuget:?package=ZeroUI.Core&version=1.8.1
ZeroUI.Core â¡
Ultra-high-performance, zero-allocation core runtime, analytical engines, and industrial automation infrastructure for .NET (netstandard2.0, net462, net8.0).
Active Development Notice: This project is currently in active development. Feedback, suggestions, and contributions from the community are warmly welcome!
ð Key Features
â¡ Automatic Render Optimizer Engine
- Mathematical Cost Router (
ZeroRenderAnalyzer): Analyzes rendering primitives in real-time, mathematically comparing software convolution $O(W \times H \times R^2)$ with parallel GPU ALU $O(1)$. Evaluates 6.95 Million decisions/sec (143.8 ns/op, 0 allocations). - Analytical SDF Shader Registry (
ZeroShaderRegistry): Closed-form Signed Distance Field (SDF) box shadow, normalized Gaussian kernel, and radial neon bloom falloff formulas (>50M evaluations/sec). - 9-Slice Shadow Atlas (
ZeroShadowAtlas): Geometrically instanced 9-slice corner/edge cache eliminating 95% of GPU draw calls with 100% cache hit rate (15.4M lookups/sec, 0 heap allocations). - Adaptive Frame-Budget Monitor (
ZeroAdaptiveRenderMonitor): Rolling 16.6ms frame-budget tracking with automated fidelity transitions (Ultra144 FPS,Balanced60 FPS,PowerSaverthrottled). - Hardware GPU Tier Telemetry (
ZeroGpuCapabilities,HardwareGpuTier): Direct DXGI hardware adapter enumeration via COM VTable (Tier0_Software,Tier1_Integrated,Tier2_Discrete) and dedicated VRAM querying.
â¡ Zero-Alloc Virtualization & Analytical Engines
- Zero-Allocation Data Virtualization (
IZeroVirtualSource,RowIndexMap): High-speed pointer swap sorting, debounced search filtering (150ms), and streaming CSV export. - Hierarchical Row Mapping (
GroupedRowIndexMap): Virtualized multi-level row grouping with expand/collapse states and group summary aggregations. - OLAP Pivot Engine (
PivotDataEngine): Multidimensional cross-tab aggregation matrix engine supporting Row/Column dimensions, summary measures (Sum,Count,Average,Min,Max), and hierarchical rollups. - Visual Range & Timeline Engine (
RangeModel,DateTimeRangeModel): High-precision range math supporting continuous/discrete numeric values, DateTime intervals, and snap-to-tick rounding.
ð¡ïž Form Validation & Internationalization Engine
- Declarative Validation Engine (
ValidationProvider,IControlValidationRule): Extensible validation framework with built-in rules (NotEmpty,Range,Regex,Email,Length,CustomPredicate). - Runtime Dynamic Localization (
ZeroLocalizer): Zero-allocation runtime string localization engine with instant culture hot-switching (en-US,vi-VN) without restarting the application, cascading fallback resolution, and built-in enterprise dictionaries. - Standardized Editor & Binding Contracts (
IZeroEditor,ZeroDataBinder): Unified contract (EditValue,IsModified,ReadOnly,ResetModified()) enabling fluent two-way binding, dirty state tracking, and validation integration.
ð Industrial Telemetry, SCADA & Historian
- Real-Time Tag Engine (
ZeroTagEnginev2,TagStorage): High-throughput in-memory tag registry with deadband jitter filtering, OPC DA/UA quality codes (Good,Bad,Uncertain), and multi-worker concurrent updates (>48M writes/s, >244M reads/s). - Embedded SQLite WAL Historian (
SqliteHistorianEngine): Ultra-fast time-series telemetry historian leveraging SQLite in WAL mode with daily rolling DB partitions and batch commit workers (>100k records/s). - Store & Forward Worker (
StoreAndForwardWorker): Resilient edge-to-cloud disk caching during network disconnections with auto-draining. - LTTB Decimation (
LttbDecimation): Zero-alloc Largest-Triangle-Three-Buckets algorithm compressing 10,000,000 raw points to 2,000 screen pixels in ~29 ms with 0 bytes GC allocated. - TimeSeries Continuous Rollups (
TimeSeriesPyramid): Multi-resolution continuous rollups (L0: raw, L1: 100ms, L2: 1s, L3: 10s, L4: 1min, L5: 10min) powering instant $O(\text{screen pixels})$ chart zoom. - ISA-18.2 Alarm Engine (
ScadaAlarmEngine): Thread-safe alarm lifecycle management (ActiveUnack,ActiveAck,ClearedUnack,Normal,Shelved,Suppressed) with audit trails.
ð Industrial Field Communication & Protocols
- Modbus TCP Master (
ModbusTcpAdapter): Native zero-allocation client supporting FC 01, 02, 03, 04, 05, 06, 15, 16. - Siemens S7 Adapter (
SiemensS7Adapter): High-speed ISO-on-TCP (RFC 1006 / COTP) and S7 PDU client for Siemens S7-300, S7-400, S7-1200, and S7-1500 PLCs. - Modbus Address Planner (
ModbusAddressPlanner): Industrial register address coalescer grouping disjoint tags into optimized contiguous block reads (up to 98.3% network packet reduction).
âïž MES & Manufacturing Engines
- PackML State Machine (
PackMlStateMachine): Complete ISA-TR88.00.02 packaging machine state machine modeling all 17 standard states. - OEE Engine (
OeeEngine): Real-time Overall Equipment Effectiveness calculator (Availability, Performance, Quality, scrap defect tracking). - Smart Warehouse Route Optimizer (
GuidedPickingEngine): Warehouse picking route optimization with 5-tier spatial coordinate routing (WarehouseLocation) and FIFO/FEFO priority enforcement.
ðŠ Installation
dotnet add package ZeroUI.Core --version 1.6.0
ð Quick Example
using ZeroUI.Core.Localization;
using ZeroUI.Core.Validation;
// 1. Dynamic Runtime Localization
ZeroLocalizer.SetCulture("vi-VN");
string saveText = ZeroLocalizer.GetString("Common.Save"); // "Lưu"
// 2. High-Performance Form Validation
var validator = new ValidationProvider();
validator.RuleFor("Quantity")
.NotEmpty()
.Range(1, 1000)
.WithMessage("Quantity must be between 1 and 1,000 units.");
var result = validator.ValidateField("Quantity", 1500);
if (!result.IsValid)
{
Console.WriteLine($"Validation Error: {result.ErrorMessage}");
}
Full documentation and source code: github.com/kzxl/ZeroUI
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.Data.Sqlite (>= 8.0.8)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Threading.Channels (>= 8.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Microsoft.Data.Sqlite (>= 8.0.8)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Threading.Channels (>= 8.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
- System.ValueTuple (>= 4.5.0)
-
net8.0
- Microsoft.Data.Sqlite (>= 8.0.8)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on ZeroUI.Core:
| Package | Downloads |
|---|---|
|
ZeroUI.WinForms
Ultra-high-performance WinForms industrial UI suite with 10M+ rows virtual grid, ISA-18.2 alarms, P&ID actuators, 60 FPS oscilloscope, and modern Obsidian Dark/Clean Light theme. |
|
|
ZeroUI.Wpf
Ultra-high-performance WPF industrial UI suite with zero-allocation virtual big data grid and modern reactive theme engine. |
|
|
ZeroPipeline.UI
Visual Node Canvas and Interactive Pipeline Studio for ZeroPlatform: Infinite Pan/Zoom Workspace, Bezier Noodles, Node-RED style authoring, and Live Execution Debugger. |
|
|
ZeroCharts
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.