1. edit/create the file: dir/svr/bbkins.met, add the fellowing line:
insert a2BusNew under BusItem;
2. edit the file: dir/svr/mti.prd, add the fellowing as first line:
include "bbkins.met"
3. attach attribute and(or) message to a2BusNew class, create new file at dir/src/a2BusNew.met, adding
the fellowing line:
attach message IncrementRevision to a2BusNew in server bbksvr;
a2BusNew.Revision = "-";
4. create new file at dir/src/a2BusNew.mth, adding the override IncrementRevision message code at this
file;
5. modify the dir/src/srcdcusmk.def, be sure to include files "a2BusNew.met" and "a2BusNew.mth"
6. rebuild all.
insert a2BusNew under BusItem;
2. edit the file: dir/svr/mti.prd, add the fellowing as first line:
include "bbkins.met"
3. attach attribute and(or) message to a2BusNew class, create new file at dir/src/a2BusNew.met, adding
the fellowing line:
attach message IncrementRevision to a2BusNew in server bbksvr;
a2BusNew.Revision = "-";
4. create new file at dir/src/a2BusNew.mth, adding the override IncrementRevision message code at this
file;
5. modify the dir/src/srcdcusmk.def, be sure to include files "a2BusNew.met" and "a2BusNew.mth"
6. rebuild all.
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步