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; 017 018import com.pax.dal.entity.BaseExInfo; 019import com.pax.dal.exceptions.BaseDevException; 020 021/** 022 * <div class="zh">底座API。</div> <div class="en">The base API.</div> 023 * 024 * @since V3.13.00 025 */ 026public interface IBase { 027 028 /** 029 * <div class="zh">更新底座的固件。</div> <div class="en">Update the firmware of the base.</div> 030 * 031 * @param path <div class="zh">固件路径。</div> <div class="en">The path of firmware.</div> 032 * 033 * @throws BaseDevException 034 * @since V3.13.00 035 */ 036 void updateBaseFirmware(String path) throws BaseDevException; 037 038 /** 039 * <div class="zh">获取底座的扩展信息。</div> <div class="en">Get the extend information for the base.</div> 040 * 041 * @return {@link BaseExInfo} 042 * 043 * @throws BaseDevException 044 * @since V3.13.00 045 */ 046 BaseExInfo getBaseExInfo() throws BaseDevException; 047 048 /** 049 * <div class="zh">重启底座。</div> <div class="en">Reboot the base.</div> 050 * 051 * @throws BaseDevException 052 * @since V3.19.00 053 */ 054 void baseReboot() throws BaseDevException; 055}