mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
feat: rename MC Message interface
This commit is contained in:
parent
d6b32f48c7
commit
f9d3607072
1 changed files with 5 additions and 5 deletions
|
|
@ -20,7 +20,7 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IMobileControl3 : IMobileControl
|
public interface IMobileControl3 : IMobileControl
|
||||||
{
|
{
|
||||||
void SendMessageObject(object o);
|
void SendMessageObject(IMobileControlMessage o);
|
||||||
|
|
||||||
void AddAction(string key, Action<JToken> action);
|
void AddAction(string key, Action<JToken> action);
|
||||||
|
|
||||||
|
|
@ -41,15 +41,15 @@ namespace PepperDash.Essentials.Core.DeviceTypeInterfaces
|
||||||
void RegisterWithAppServer(IMobileControl3 appServerController);
|
void RegisterWithAppServer(IMobileControl3 appServerController);
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IMobileControlResponseMessage
|
public interface IMobileControlMessage
|
||||||
{
|
{
|
||||||
[JsonProperty("type")]
|
[JsonProperty("type")]
|
||||||
string Type { get; }
|
string Type { get; }
|
||||||
|
|
||||||
[JsonProperty("clientId")]
|
[JsonProperty("clientId", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
object ClientId { get; }
|
string ClientId { get; }
|
||||||
|
|
||||||
[JsonProperty("content")]
|
[JsonProperty("content", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
JToken Content { get; }
|
JToken Content { get; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue