您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

24 行
977 B

-define(wMod, wMod). %% worker Mod
-define(wFCnt, wFCnt). %% worker fixed count
-define(wTCnt, wTCnt). %% worker temp count
-define(wTLive, wTLive). %% temp worker idle time(s) after to die
-define(fTpm, fTpm). %% Factory task processing mode fifo lifo
-define(fTLfl, fTLfl). %% Factory task load line When the factory load exceeds this value, temp workers can be hired
-define(fTMax, fTMax). %% Maximum plant load Beyond this value, the factory will no longer accept tasks
-type fawOtp() :: {?wMod, atom()} |{?wFCnt, pos_integer()} |{?wTCnt, pos_integer()} |{?wTLive, pos_integer()} |{?fTpm, fifo | lifo} |{?fTLfl, pos_integer()} | {?fTMax, pos_integer()}.
-define(FawDefV, [
{?wMod, fwWTP}
, {?wFCnt, 30}
, {?wTCnt, 20}
, {?wTLive, 300}
, {?fTpm, fifo}
, {?fTLfl, 10000}
, {?fTMax, 10000}
]).
-type fawOtps() :: [fawOtp(), ...].
-define(ERR(Format, Args), error_logger:error_msg(Format, Args)).