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 */ 016package com.pax.dal.entity; 017 018 019/** 020 * <div class="zh"> NTP服务器参数 </div> <div class="en"> NTP server param </div> 021 * 022 */ 023public class NtpServerParam { 024 025 private String ntp_server; 026 private long ntp_timeout; 027 private int ntp_port = -1; 028 029 public NtpServerParam() { 030 } 031 032 /** 033 * <div class="zh"> 获取NTP服务器 </div> <div class="en"> Get NTP server </div> 034 * 035 * @return <div class="zh"> NTP服务器 </div> <div class="en"> NTP server </div> 036 */ 037 public String getNtp_server() { 038 return ntp_server; 039 } 040 /** 041 * <div class="zh"> 设置NTP服务器 </div> <div class="en"> Set NTP server </div> 042 * 043 * 044 */ 045 public void setNtp_server(String ntp_server) { 046 this.ntp_server = ntp_server; 047 } 048 /** 049 * <div class="zh"> 获取超时时间 </div> <div class="en"> get timeout </div> 050 * 051 * @return <div class="zh"> 超时时间 </div> <div class="en"> timeout </div> 052 */ 053 public long getNtp_timeout() { 054 return ntp_timeout; 055 } 056 /** 057 * <div class="zh"> 设置超时时间 </div> <div class="en"> Set timeout </div> 058 * 059 * 060 */ 061 public void setNtp_timeout(long ntp_timeout) { 062 this.ntp_timeout = ntp_timeout; 063 } 064 /** 065 * <div class="zh"> 获取端口 </div> <div class="en"> Get port </div> 066 * 067 * @return <div class="zh"> 端口 </div> <div class="en"> port </div> 068 */ 069 public int getNtp_port() { 070 return ntp_port; 071 } 072 /** 073 * <div class="zh"> 设置端口 </div> <div class="en"> Set port </div> 074 * 075 * 076 */ 077 public void setNtp_port(int ntp_port) { 078 this.ntp_port = ntp_port; 079 } 080}