@Override
	public void valueUpdated(Setting s, Value v) {
		try {
			if (s.getName().equals(_RefVisibible)) {
				if (switch_ != null)
					switch_.setReferenceVisible(v.getBoolean());
			} else if (s.getName().equals(_Reference)) {
				if (switch_ != null)
					switch_.setReference(v.getBoolean());
			} else if (s.getName().equals(_Value)) {
				if (switch_ != null) {
					if (switch_.isSelected() != v.getBoolean()) {
						switch_.setSelected(v.getBoolean());
						if (getMode().isExec()) {
							output_.trigger(v);
						}
					}
				}
			}
			super.valueUpdated(s, v);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}