private ProcessingInstruction GenerateExitInstruction(ProcessingInstruction previousPi) { ExitInstruction ei = new ExitInstruction(true, "complete"); LogServer.Log(LogServer.LogASConstants.AutomationServicesLoggerNamespace, LogServer.LogASConstants.LAYER_SmartDispatcher, LogServer.LEVEL_Info, "Creating Exit Instruction"); ei.DocumentProcessorName = DocumentProcessorName; ei.DocumentProcessorGuid = DocumentProcessorGuid.ToString(); return(ei); }
private ProcessingInstruction GenerateFirstCADIndexInstruction(ASContext asContext) { MSProcessorInstruction pi = new MSProcessorInstruction(); pi.DocumentProcessorName = DocumentProcessorName; pi.DocumentProcessorGuid = DocumentProcessorGuid.ToString(); pi.Step = Constants.Steps.KeyInStep; pi.MicroStationMessage = GenerateMicroStationInstructions(asContext); return(pi); }
private ProcessingInstruction GenerateFileReplaceInstruction(ProcessingInstruction previousPi) { DelegateInstruction di = new DelegateInstruction(); LogServer.Log(LogServer.LogASConstants.AutomationServicesLoggerNamespace, LogServer.LogASConstants.LAYER_SmartDispatcher, LogServer.LEVEL_Info, "Creating Replace Instruction"); di.DocumentProcessorName = DocumentProcessorName; di.DocumentProcessorGuid = DocumentProcessorGuid.ToString(); di.Step = Constants.Steps.ReplaceFileStep; return(di); }