public string ExportSettings() { if (OSKeyPress == null || OSKeyPress.IsEmpty()) { return(null); } Common.DebugP(Enum.GetName(typeof(TPMPanelSwitches), TPMSwitch) + " " + _whenOnTurnedOn); var onStr = _whenOnTurnedOn ? "1" : "0"; return("TPMPanelSwitch{" + onStr + Enum.GetName(typeof(TPMPanelSwitches), TPMSwitch) + "}" + SeparatorChars + _osKeyPress.ExportString()); }
public string ExportSettings() { if (OSKeyPress == null || OSKeyPress.IsEmpty()) { return(null); } Common.DebugP(Enum.GetName(typeof(MultiPanelPZ70Knobs), MultiPanelPZ70Knob) + " " + _whenOnTurnedOn); var onStr = _whenOnTurnedOn ? "1" : "0"; return("MultiPanelKnob{" + onStr + Enum.GetName(typeof(MultiPanelPZ70Knobs), MultiPanelPZ70Knob) + "}" + SeparatorChars + _osKeyPress.ExportString()); }