Last active
March 22, 2016 03:56
-
-
Save Qata/1f74606ad42cce4962ca to your computer and use it in GitHub Desktop.
This file contains hidden or 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
struct ControlLineNode: ControlNode { | |
let mac: String | |
let line: UInt8 | |
var groups: [ControlGroupNode] | |
var devices: [ControlDeviceNode] | |
init(withMAC macAddress: String, line lineNumber: UInt8) { | |
mac = macAddress | |
line = lineNumber | |
groups = [] | |
devices = [] | |
} | |
init(withMAC macAddress: String, line lineNumber: UInt8, groups groupsArray: [ControlGroupNode], devices devicesArray: [ControlDeviceNode]) { | |
mac = macAddress | |
line = lineNumber | |
groups = groupsArray | |
devices = devicesArray | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment