-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support processing context's SendToDataSource in RealTimeWorkbench. M…
…essages available on new DataSourceMessageReceived event.
- Loading branch information
1 parent
6d60da4
commit d44be7a
Showing
4 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Scaleout.DigitalTwin.Workbench | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public class SendToDataSourceEventArgs : EventArgs | ||
{ | ||
internal SendToDataSourceEventArgs(string digitalTwinId, string modelName, object message) | ||
{ | ||
DigitalTwinId = digitalTwinId; | ||
Message = message; | ||
ModelName = modelName; | ||
} | ||
/// <summary> | ||
/// Message sent to the digital twin's data source. | ||
/// </summary> | ||
public object Message { get; set; } | ||
|
||
/// <summary> | ||
/// ID of the digital twin instance. | ||
/// </summary> | ||
public string DigitalTwinId { get; set; } | ||
|
||
|
||
/// <summary> | ||
/// Name of the model. | ||
/// </summary> | ||
public string ModelName { get; set; } | ||
} | ||
} |