mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
Removed some debug print statements
This commit is contained in:
@@ -150,12 +150,10 @@ namespace PepperDash.Essentials.DM {
|
|||||||
InputCardHdcpCapabilityFeedbacks = new Dictionary<uint, IntFeedback>();
|
InputCardHdcpCapabilityFeedbacks = new Dictionary<uint, IntFeedback>();
|
||||||
InputCardHdcpCapabilityTypes = new Dictionary<uint, eHdcpCapabilityType>();
|
InputCardHdcpCapabilityTypes = new Dictionary<uint, eHdcpCapabilityType>();
|
||||||
|
|
||||||
CrestronConsole.PrintLine("GotHere 1");
|
|
||||||
for (uint x = 1; x <= Chassis.NumberOfOutputs; x++) {
|
for (uint x = 1; x <= Chassis.NumberOfOutputs; x++) {
|
||||||
var tempX = x;
|
var tempX = x;
|
||||||
|
|
||||||
if (Chassis.Outputs[tempX] != null) {
|
if (Chassis.Outputs[tempX] != null) {
|
||||||
CrestronConsole.PrintLine("GotHere 2");
|
|
||||||
VideoOutputFeedbacks[tempX] = new IntFeedback(() => {
|
VideoOutputFeedbacks[tempX] = new IntFeedback(() => {
|
||||||
if (Chassis.Outputs[tempX].VideoOutFeedback != null) { return (ushort)Chassis.Outputs[tempX].VideoOutFeedback.Number; }
|
if (Chassis.Outputs[tempX].VideoOutFeedback != null) { return (ushort)Chassis.Outputs[tempX].VideoOutFeedback.Number; }
|
||||||
else { return 0; };
|
else { return 0; };
|
||||||
@@ -163,7 +161,6 @@ namespace PepperDash.Essentials.DM {
|
|||||||
|
|
||||||
OutputNameFeedbacks[tempX] = new StringFeedback(() => {
|
OutputNameFeedbacks[tempX] = new StringFeedback(() => {
|
||||||
if (Chassis.Outputs[tempX].NameFeedback != null) {
|
if (Chassis.Outputs[tempX].NameFeedback != null) {
|
||||||
CrestronConsole.PrintLine("GotHere 3");
|
|
||||||
return Chassis.Outputs[tempX].NameFeedback.StringValue;
|
return Chassis.Outputs[tempX].NameFeedback.StringValue;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -172,7 +169,6 @@ namespace PepperDash.Essentials.DM {
|
|||||||
});
|
});
|
||||||
OutputVideoRouteNameFeedbacks[tempX] = new StringFeedback(() => {
|
OutputVideoRouteNameFeedbacks[tempX] = new StringFeedback(() => {
|
||||||
if (Chassis.Outputs[tempX].VideoOutFeedback != null) {
|
if (Chassis.Outputs[tempX].VideoOutFeedback != null) {
|
||||||
CrestronConsole.PrintLine("GotHere 4");
|
|
||||||
return Chassis.Outputs[tempX].VideoOutFeedback.NameFeedback.StringValue;
|
return Chassis.Outputs[tempX].VideoOutFeedback.NameFeedback.StringValue;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -188,19 +184,16 @@ namespace PepperDash.Essentials.DM {
|
|||||||
|
|
||||||
if (Chassis.Inputs[tempX] != null) {
|
if (Chassis.Inputs[tempX] != null) {
|
||||||
UsbInputRoutedToFeebacks[tempX] = new IntFeedback(() => {
|
UsbInputRoutedToFeebacks[tempX] = new IntFeedback(() => {
|
||||||
CrestronConsole.PrintLine("GotHere 6");
|
|
||||||
if (Chassis.Inputs[tempX].USBRoutedToFeedback != null) { return (ushort)Chassis.Inputs[tempX].USBRoutedToFeedback.Number; }
|
if (Chassis.Inputs[tempX].USBRoutedToFeedback != null) { return (ushort)Chassis.Inputs[tempX].USBRoutedToFeedback.Number; }
|
||||||
else { return 0; };
|
else { return 0; };
|
||||||
});
|
});
|
||||||
VideoInputSyncFeedbacks[tempX] = new BoolFeedback(() => {
|
VideoInputSyncFeedbacks[tempX] = new BoolFeedback(() => {
|
||||||
CrestronConsole.PrintLine("GotHere 7");
|
|
||||||
if (Chassis.Inputs[tempX].VideoDetectedFeedback != null)
|
if (Chassis.Inputs[tempX].VideoDetectedFeedback != null)
|
||||||
return Chassis.Inputs[tempX].VideoDetectedFeedback.BoolValue;
|
return Chassis.Inputs[tempX].VideoDetectedFeedback.BoolValue;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
InputNameFeedbacks[tempX] = new StringFeedback(() => {
|
InputNameFeedbacks[tempX] = new StringFeedback(() => {
|
||||||
CrestronConsole.PrintLine("GotHere 8");
|
|
||||||
if (Chassis.Inputs[tempX].NameFeedback != null) {
|
if (Chassis.Inputs[tempX].NameFeedback != null) {
|
||||||
return Chassis.Inputs[tempX].NameFeedback.StringValue;
|
return Chassis.Inputs[tempX].NameFeedback.StringValue;
|
||||||
}
|
}
|
||||||
@@ -210,7 +203,6 @@ namespace PepperDash.Essentials.DM {
|
|||||||
});
|
});
|
||||||
|
|
||||||
InputEndpointOnlineFeedbacks[tempX] = new BoolFeedback(() => {
|
InputEndpointOnlineFeedbacks[tempX] = new BoolFeedback(() => {
|
||||||
CrestronConsole.PrintLine("GotHere 9");
|
|
||||||
return Chassis.Inputs[tempX].EndpointOnlineFeedback;
|
return Chassis.Inputs[tempX].EndpointOnlineFeedback;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user