object UCMD_INPUT__DOLLAR___OnChange_0(Object __EventInfo__) { Crestron.Logos.SplusObjects.SignalEventArgs __SignalEventArg__ = (Crestron.Logos.SplusObjects.SignalEventArgs)__EventInfo__; try { SplusExecutionContext __context__ = SplusThreadStartCode(__SignalEventArg__); PD_Core.UserCommand(UCMD_INPUT__DOLLAR__.ToString()); } catch (Exception e) { ObjectCatchHandler(e); } finally { ObjectFinallyHandler(__SignalEventArg__); } return(this); }
public override object FunctionMain(object __obj__) { try { SplusExecutionContext __context__ = SplusFunctionMainStartCode(); __context__.SourceCodeLine = 69; WaitForInitializationComplete( ); __context__.SourceCodeLine = 71; if (Functions.TestForTrue((Functions.BoolToInt(GetSymbolReferenceName() == "DEBUG")))) { __context__.SourceCodeLine = 71; PD_Core.DebugOn = (ushort)(1); } __context__.SourceCodeLine = 73; // RegisterDelegate( CORENOTICES , NOTICEHANDLER , ONNOTICE ) CORENOTICES.NoticeHandler = ONNOTICE;; __context__.SourceCodeLine = 75; PD_Core.DealerName = (DEALER).ToString(); __context__.SourceCodeLine = 76; PD_Core.LicenseKey = (LICENSE_KEY).ToString(); __context__.SourceCodeLine = 77; PD_Core.ProcessorName = (PROCESSOR_NAME).ToString(); __context__.SourceCodeLine = 78; PD_Core.ProcessorIp = (PROCESSOR_IP_ADDRESS).ToString(); __context__.SourceCodeLine = 81; PD_Core.InitializeAsMaster(JOB_NUMBER.ToString(), (ushort)(DEFAULT_FILE_LOCATION.Value), (ushort)(STARTUP_DELAY_SECONDS.Value)); __context__.SourceCodeLine = 82; INITIALIZATIONCOMPLETE.Value = (ushort)(1); } catch (Exception e) { ObjectCatchHandler(e); } finally { ObjectFinallyHandler(); } return(__obj__); }