001 /* 002 * =========================================================================================== 003 * = COPYRIGHT 004 * PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION 005 * This software is supplied under the terms of a license agreement or nondisclosure 006 * agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or 007 * disclosed except in accordance with the terms in that agreement. 008 * Copyright (C) 2017-2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved. 009 * Description: // Detail description about the function of this module, 010 * // interfaces with the other modules, and dependencies. 011 * Revision History: 012 * Date Author Action 013 * 2017/04/01 PAX Create/Add/Modify/Delete 014 * =========================================================================================== 015 */ 016 017package com.pax.dal.entity; 018 019public enum EWifiSleepPolicy { 020 021 /** 022 * <div class="zh"> 一直保持 </div> <div class="en"> Always keep on </div> 023 */ 024 KEEP_ON_ALWAYS(2), 025 /** 026 * <div class="zh"> 只当插电时保持 </div> <div class="en"> Keep on only when plugged in </div> 027 */ 028 ONLY_PLUGGED_IN(1), 029 /** 030 * <div class="zh"> 从不 </div> <div class="en"> Never </div> 031 */ 032 NEVER(0); 033 034 private int policy; 035 036 private EWifiSleepPolicy(int policy) { 037 this.policy = policy; 038 } 039 040 public int getPolicy() { 041 return policy; 042 } 043}