-- Copyright (c) 2026 Huawei Technologies Co., Ltd.
-- openUBMC is licensed under Mulan PSL v2.
-- You can use this software according to the terms and conditions of the Mulan PSL v2.
-- You may obtain a copy of Mulan PSL v2 at:
--         http://license.coscl.org.cn/MulanPSL2
-- THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
-- EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
-- MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
-- See the Mulan PSL v2 for more details.

-- Description: 网卡固件对象

local log = require 'mc.logging'
local c_object = require 'mc.orm.object'
local skynet = require 'skynet'

---@class c_network_adapter_firmware: c_object
local c_network_adapter_firmware = c_object('NetworkAdapterFirmware')

-- 构造函数
function c_network_adapter_firmware:ctor(obj)
end

function c_network_adapter_firmware.before_add_object(object)
    return false
end

-- 初始化函数
function c_network_adapter_firmware:init()
    c_network_adapter_firmware.super.init(self)
    log:notice('[NetworkAdapterFirmware] init: ComponentID=%s, ComponentIDEx=%s',
        self.ComponentID, self.ComponentIDEx)
end

-- 析构函数
function c_network_adapter_firmware:dtor()
end

return c_network_adapter_firmware

