getLogInput() public static method

Gets the LogInput based on the unique variable name.
public static getLogInput ( string keyVariableName ) : LogInput
keyVariableName string The unique variable name.
return LogInput
Ejemplo n.º 1
0
        /// <summary>
        ///  Opens a LogInput Editor Dialog. Can change the times and the variable name.
        /// </summary>
        /// <param name="selected"> The unique variable name of the seleced List View item.</param>
        private void EditDialog(string selected)
        {
            LogInput       log = LogSystem.getLogInput(selected);
            LogInputDialog lid = new LogInputDialog(this, log);

            lid.Show();
        }
Ejemplo n.º 2
0
        /// <summary>
        ///  Removes the log Input from the LogSystem and the list view.
        /// </summary>
        /// <param name="selected"> Unique variable name of list View Item.</param>
        public void DeleteListItem(string selected)
        {
            LogInput logInput = LogSystem.getLogInput(selected);

            LogSystem.removeLogInput(selected, logInput.getServerDatabase());
        }