1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/dgiiot-dgiot_modbus_tcp

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
dgiot_modbus_tcp_sup.erl 1.5 КБ
Копировать Редактировать Исходные данные Просмотреть построчно История
stoneliu Отправлено 4 лет назад 5693802
%%--------------------------------------------------------------------
%% Copyright (c) 2016-2017 John liu <34489690@qq.com>.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
%% You may obtain a copy of the License at
%%
%% http://www.apache.org/licenses/LICENSE-2.0
%%
%% Unless required by applicable law or agreed to in writing, software
%% distributed under the License is distributed on an "AS IS" BASIS,
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%% See the License for the specific language governing permissions and
%% limitations under the License.
%%--------------------------------------------------------------------
%% @doc dgiot_modbus_tcp supervisor
-module(dgiot_modbus_tcp_sup).
-include("dgiot_modbus_tcp.hrl").
-behaviour(supervisor).
%% API
-export([start_link/0]).
%% Supervisor callbacks
-export([init/1]).
%% Helper macro for declaring children of supervisor
-define(CHILD(I, Type), {I, {I, start_link, []}, permanent, 5000, Type, [I]}).
%%--------------------------------------------------------------------
%% API functions
%%--------------------------------------------------------------------
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
%%--------------------------------------------------------------------
%% Supervisor callbacks
%%--------------------------------------------------------------------
init([]) ->
{ok, { {one_for_one, 5, 10}, []}}.

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/dgiiot-dgiot_modbus_tcp.git
git@gitlife.ru:oschina-mirror/dgiiot-dgiot_modbus_tcp.git
oschina-mirror
dgiiot-dgiot_modbus_tcp
dgiiot-dgiot_modbus_tcp
v4.0.0