Created
May 21, 2015 12:09
-
-
Save omerlh/d0feb0d592a25fad01a3 to your computer and use it in GitHub Desktop.
Device Group
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
HomeDeviceEntity | |
{ | |
DeviceId: A | |
GroupId: G | |
} | |
HomeDeviceEntity | |
{ | |
DeviceId: B | |
GroupId: G | |
} | |
DeviceGroupEntity | |
{ | |
GroupId: G | |
Devices: | |
{ | |
{DeviceId: A} | |
{DeviceId: B} | |
} | |
} |
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
HomeDeviceEntity | |
{ | |
DeviceId: A | |
} | |
HomeDeviceEntity | |
{ | |
DeviceId: B | |
} | |
DeviceGroupEntity | |
{ | |
GroupId: G | |
} | |
HomeDeviceToDeviceGroupEntity | |
{ | |
DeviceId: A | |
GroupId: G | |
} | |
HomeDeviceToDeviceGroupEntity | |
{ | |
DeviceId: B | |
GroupId: G | |
} | |
DeviceGroupToHomeDeviceEntity | |
{ | |
GroupId: G | |
DeviceId: A | |
} | |
DeviceGroupToHomeDeviceEntity | |
{ | |
GroupId: G | |
DeviceId: B | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment