68 lines
1.7 KiB
Java
68 lines
1.7 KiB
Java
/**
|
|
* This software was developed and / or modified by Raytheon Company,
|
|
* pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
|
*
|
|
* U.S. EXPORT CONTROLLED TECHNICAL DATA
|
|
* This software product contains export-restricted data whose
|
|
* export/transfer/disclosure is restricted by U.S. law. Dissemination
|
|
* to non-U.S. persons whether in the United States or abroad requires
|
|
* an export license or other authorization.
|
|
*
|
|
* Contractor Name: Raytheon Company
|
|
* Contractor Address: 6825 Pine Street, Suite 340
|
|
* Mail Stop B8
|
|
* Omaha, NE 68106
|
|
* 402.291.0100
|
|
*
|
|
* See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
|
* further licensing information.
|
|
**/
|
|
package com.raytheon.uf.edex.site;
|
|
|
|
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
|
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|
|
|
/**
|
|
* TODO Add Description
|
|
*
|
|
* <pre>
|
|
*
|
|
* SOFTWARE HISTORY
|
|
*
|
|
* Date Ticket# Engineer Description
|
|
* ------------ ---------- ----------- --------------------------
|
|
* Nov 30, 2010 rjpeter Initial creation
|
|
*
|
|
* </pre>
|
|
*
|
|
* @author rjpeter
|
|
* @version 1.0
|
|
*/
|
|
@DynamicSerialize
|
|
public class SiteActivationMessage {
|
|
public enum Action {
|
|
ACTIVATE, DEACTIVATE, CYCLE
|
|
};
|
|
|
|
@DynamicSerializeElement
|
|
private Action action;
|
|
|
|
@DynamicSerializeElement
|
|
private String siteId;
|
|
|
|
public Action getAction() {
|
|
return action;
|
|
}
|
|
|
|
public void setAction(Action action) {
|
|
this.action = action;
|
|
}
|
|
|
|
public String getSiteId() {
|
|
return siteId;
|
|
}
|
|
|
|
public void setSiteId(String siteId) {
|
|
this.siteId = siteId;
|
|
}
|
|
}
|