void OnEdit()
		{
			var variableDetailsViewModel = new VariableDetailsViewModel(SelectedVariable.Variable, AutomationHelper.GetLocalVariables(Procedure), "Редактировать аргумент");
			if (DialogService.ShowModalWindow(variableDetailsViewModel))
			{
				PropertyCopy.Copy<Variable, Variable>(variableDetailsViewModel.Variable, SelectedVariable.Variable);
				SelectedVariable.Update();
				ServiceFactory.SaveService.AutomationChanged = true;
			}
		}
		void OnAdd()
		{
			var variableDetailsViewModel = new VariableDetailsViewModel(null, AutomationHelper.GetLocalVariables(Procedure), "Добавить аргумент");
			if (DialogService.ShowModalWindow(variableDetailsViewModel))
			{
				var variableViewModel = new VariableViewModel(variableDetailsViewModel.Variable);
				Procedure.Arguments.Add(variableViewModel.Variable);
				Variables.Add(variableViewModel);
				SelectedVariable = variableViewModel;
				ServiceFactory.SaveService.AutomationChanged = true;
			}
		}