-- Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved.
--
-- this file licensed under the 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.
--
-- Author: auto generate
-- Create: 2025-9-17
-- Description: DO NOT EDIT; Code generated by "service.lua.mako"
local class = require 'mc.class'

local model = require 'debug.class.model'

local general_hardware_service = class()

general_hardware_service.package = 'general_hardware'

function general_hardware_service:get_bus()
    return self.bus
end

function general_hardware_service:ctor(bus)
    self.bus = bus
    self.signal_slots = {}
    self.name = self.name or general_hardware_service.package

    model.init(self.bus)
    general_hardware_service.bus = self.bus
end

function general_hardware_service:init()
end

return general_hardware_service
