public OscButtonCommandMap(OscButtonType type, string address, int?id) { switch (type) { case OscButtonType.FireOnly: Type = OscButtonType.FireOnly; Address = address; break; case OscButtonType.SendData: Type = OscButtonType.SendData; Address = address; Id = id; break; } }
public OscButtonCommandMap(string address, int id) { Type = OscButtonType.SendData; Address = address; Id = id; }
public OscButtonCommandMap(string address) { Type = OscButtonType.FireOnly; Address = address; }