private void AddDap (DapDevice dap) { if (dap.CanSynchronize) { LogCore.Instance.PushDebug ("DapCommand: Adding listener to dap", dap.Name); dap.SaveFinished += OnDapSaveFinished; dapProcessTable.Add (dap, null); SchemaEntry NameSchema = new SchemaEntry ( SchemaNamespace + "." + dap.ID, "name", String.Empty, "Name", "Name of Dap " + dap.ID ); if ( String.IsNullOrEmpty ( NameSchema.Get () ) ) NameSchema.Set (dap.Name); SchemaEntry CommandSchema = new SchemaEntry ( SchemaNamespace + "." + dap.ID, "command", String.Empty, "Command", "Custom command to be executed for Dap " + dap.ID ); if ( String.IsNullOrEmpty ( CommandSchema.Get () ) ) CommandSchema.Set (""); } }