public override SupportGrade Supports(XmppDeviceInformation DeviceInformation) { if (Array.IndexOf <string> (DeviceInformation.InteroperabilityInterfaces, "XMPP.IoT.Media.Camera") >= 0) { return(SupportGrade.Perfect); } else { return(SupportGrade.NotAtAll); } }
public override SupportGrade Supports(XmppDeviceInformation DeviceInformation) { if (Array.IndexOf <string> (DeviceInformation.InteroperabilityInterfaces, "Clayster.LearningIoT.Sensor.Light") >= 0 && Array.IndexOf <string> (DeviceInformation.InteroperabilityInterfaces, "Clayster.LearningIoT.Sensor.Motion") >= 0) { return(SupportGrade.Perfect); } else { return(SupportGrade.NotAtAll); } }
public override SupportGrade Supports(XmppDeviceInformation DeviceInformation) { if (Array.IndexOf <string> (DeviceInformation.InteroperabilityInterfaces, "XMPP.IoT.Actuator.DigitalOutputs") >= 0 && Array.IndexOf <string> (DeviceInformation.InteroperabilityInterfaces, "XMPP.IoT.Security.Alarm") >= 0 && Array.IndexOf <string> (DeviceInformation.InteroperabilityInterfaces, "Clayster.LearningIoT.Actuator.DO1-8") >= 0) { return(SupportGrade.Perfect); } else { return(SupportGrade.NotAtAll); } }