public OutputFileCreator(uint id, string name, CommunicationInterfaceHandler communicationInterfaceHandler, OutputDataTemplate outputDataTemplate, OutputFileCreatorFile outputFileCreatorFile, OutputFileCreatorInterfaceAssignmentFile outputFileCreatorInterfaceAssignmentFile) : base(id, name, communicationInterfaceHandler, outputDataTemplate) { OutputFileCreatorFile = outputFileCreatorFile; OutputFileCreatorInterfaceAssignmentFile = outputFileCreatorInterfaceAssignmentFile; _communicationThread = new Thread(OutputCommunicationThread); _communicationThread.SetApartmentState(ApartmentState.STA); _communicationThread.IsBackground = true; if (OutputFileCreatorInterfaceAssignmentFile.Assignment == null) OutputFileCreatorInterfaceAssignmentFile.Assignment = new string[9][]; Assignment = OutputFileCreatorInterfaceAssignmentFile.Assignment[Header.Id]; CreateInterfaceAssignment(); }
protected OutputDataTemplateComponent(OutputDataTemplate outputDataTemplate) { OutputDataTemplate = outputDataTemplate; OutputDataTemplate.OnTemplateUpdateDelegate += OnTemplateUpdateDelegate; }
protected OutputModule(uint id, string name, CommunicationInterfaceHandler communicationInterfaceHandler, OutputDataTemplate outputDataTemplate) : base(id, name, communicationInterfaceHandler) { OutputDataTemplate = outputDataTemplate; }