def setValveState(*args):
    """Access and changes protected valve state class data. The returned value representation is a 1 by 11 integer numpy array. This approach is a secure method to access and change saved system valve state values.

    Parameters
    ----------
    valve_state : int numby array
        Values for valve state range from 0 for 'Safe' to 1 for 'Active'.
    valve : str
        Set strings range from 'a-k' for each test stand valve.
    value : int
        Set valve values from 0 for 'Safe' to 1 for 'Active'.

    Returns
    -------
    valve_state : int numpy array
         [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] = 'Safe' system valve state.
    """
    if args[1] == 'a':
        args[0].valve_a = args[2]
    elif args[1] == 'b':
        args[0].valve_b = args[2]
    elif args[1] == 'c':
        args[0].valve_c = args[2]
    elif args[1] == 'd':
        args[0].valve_c = args[2]
    elif args[1] == 'e':
        args[0].valve_e = args[2]
    elif args[1] == 'f':
        args[0].valve_f = args[2]
    elif args[1] == 'g':
        args[0].valve_g = args[2]
    elif args[1] == 'h':
        args[0].valve_h = args[2]
    elif args[1] == 'i':
        args[0].valve_i = args[2]
    elif args[1] == 'j':
        args[0].valve_j = args[2]
    elif args[1] == 'k':
        args[0].valve_k = args[2]
    return args[0]
