001/* 002 * Copyright (C) Cross The Road Electronics. All rights reserved. 003 * License information can be found in CTRE_LICENSE.txt 004 * For support and suggestions contact support@ctr-electronics.com or file 005 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases 006 */ 007package com.ctre.phoenixpro.controls; 008 009import com.ctre.phoenixpro.StatusCode; 010 011/** 012 * Generic Empty Control class used to do nothing. 013 */ 014public class EmptyControl extends ControlRequest { 015 /** 016 * Constructs an empty control request. 017 */ 018 public EmptyControl() { 019 super("EmptyControl"); 020 } 021 022 @Override 023 public String toString() { 024 String ss = "class: EmptyControl\n"; 025 return ss; 026 } 027 028 public StatusCode sendRequest(String network, int deviceHash, boolean cancelOtherRequests) { 029 return StatusCode.OK; 030 } 031};