示例#1
0
 void Cmdr$$CONSTS() {
   // module Cmdr
   om.bind(
       "xdc.tools.Cmdr.SHELL",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("xdc.tools.Cmdr.Context", "xdc.tools"),
           "xdc.tools.Cmdr.SHELL",
           0));
   om.bind(
       "xdc.tools.Cmdr.SCRIPT",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("xdc.tools.Cmdr.Context", "xdc.tools"),
           "xdc.tools.Cmdr.SCRIPT",
           1));
 }
示例#2
0
 void Agent$$CONSTS() {
   // module Agent
   om.bind(
       "ti.sysbios.rta.Agent.Transport_RTDX",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("ti.sysbios.rta.Agent.Transport", "ti.sysbios.rta"),
           "ti.sysbios.rta.Agent.Transport_RTDX",
           0));
   om.bind(
       "ti.sysbios.rta.Agent.Transport_STOP_MODE_ONLY",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("ti.sysbios.rta.Agent.Transport", "ti.sysbios.rta"),
           "ti.sysbios.rta.Agent.Transport_STOP_MODE_ONLY",
           1));
   om.bind(
       "ti.sysbios.rta.Agent.Transport_USER",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("ti.sysbios.rta.Agent.Transport", "ti.sysbios.rta"),
           "ti.sysbios.rta.Agent.Transport_USER",
           2));
 }