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.phoenix6.StatusCode; 010 011/** 012 * Generic Empty Control class used to do nothing. 013 * 014 * @deprecated Classes in the phoenixpro package will be removed in 2024. 015 * Users should instead use classes from the phoenix6 package. 016 */ 017@Deprecated(forRemoval = true) 018public class EmptyControl extends ControlRequest { 019 /** 020 * Constructs an empty control request. 021 * 022 * @deprecated Classes in the phoenixpro package will be removed in 2024. 023 * Users should instead use classes from the phoenix6 package. 024 */ 025 @Deprecated(forRemoval = true) 026 public EmptyControl() { 027 super("EmptyControl"); 028 } 029 030 @Override 031 public String toString() { 032 String ss = "class: EmptyControl\n"; 033 return ss; 034 } 035 036 public StatusCode sendRequest(String network, int deviceHash, boolean cancelOtherRequests) { 037 return StatusCode.OK; 038 } 039};