2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-06-13 22:48:42 +00:00
This commit is contained in:
2026-06-04 12:12:54 +03:00
parent 05b646b7b2
commit 3cd611970a
15 changed files with 645 additions and 745 deletions
@@ -0,0 +1,14 @@
using Esiur.Resource;
/// <summary>
/// Observable sensor resource. Setting <c>value</c> raises a property-change notification that the
/// Esiur runtime propagates to every attached subscriber — the fan-out path under measurement.
/// (The generated property is named <c>Value</c>; subscribers filter on that name.)
/// </summary>
[Resource]
public partial class SensorResource : Resource
{
public int SensorId { get; set; }
[Export] public double value;
}