public static AdapterInterface CreateOnOffStatus(bool currentValue)
{
var iface = new AdapterInterface("org.alljoyn.SmartSpaces.Operation.OnOffStatus");
iface.Properties.Add(new AdapterAttribute("Version", (ushort)1) { COVBehavior = SignalBehavior.Never });
iface.Properties[0].Annotations.Add("org.alljoyn.Bus.DocString.En", "The interface version");
iface.Properties.Add(new AdapterAttribute("OnOff", currentValue) { COVBehavior = SignalBehavior.Always });
iface.Properties[1].Annotations.Add("org.alljoyn.Bus.DocString.En", "Current on/off state of the appliance. If true, the device is on state.");
return iface;
}