protected override void LoadTaskNode() { string timeStamp = DateTime.Now.ToStringPathLong(); InputAzureFolderPathArray = TaskNode.GetXmlValues("Input/AzureFolder", "Path").ToArray(); InputAzureBlobContainerName = TaskNode.GetXmlValue("Input", "BlobContainerName"); OutputAzureRootFolderPath = TaskNode.GetXmlValue("OutputAzureRootFolder", "Path"); SampleRate = TaskNode.GetXmlValueInt32("AudioSettings", "SampleRate"); NumChannels = TaskNode.GetXmlValueInt32("AudioSettings", "NumChannels"); ReportRootFolderPath = Path.Combine(TaskNode.GetXmlValue("ReportRootFolder", "Path"), "_Report", timeStamp); DailyRootFolderPath = Path.Combine(TaskNode.GetXmlValue("DailyRootFolder", "Path"), timeStamp); AudioRootFolder = TaskNode.GetXmlValue("AudioRootFolder", "Path"); }
/// <summary> /// Load the task node. /// </summary> protected override void LoadTaskNode() { StartTime = DateTime.ParseExact(TaskNode.GetXmlValue("StartTime"), "yyyy/MM/dd", System.Globalization.CultureInfo.InvariantCulture); EndTime = DateTime.ParseExact(TaskNode.GetXmlValue("EndTime"), "yyyy/MM/dd", System.Globalization.CultureInfo.InvariantCulture); OutputFolderPath = TaskNode.GetXmlValue("OutputFolder", "Path"); }
protected override void LoadTaskNode() { Name = TaskNode.GetXmlValue("Name"); RepeatCount = TaskNode.GetXmlValueInt32("Repeat"); }
protected override void LoadTaskNode() { Name = TaskNode.GetXmlValue("Name"); }
/// <summary> /// Load the task node. /// </summary> protected override void LoadTaskNode() { InputConfigPath = TaskNode.GetXmlValue("InputConfig", "Path"); OutputConfigPath = TaskNode.GetXmlValue("OutputConfig", "Path"); }