mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-06-13 22:48:42 +00:00
deadlock
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user