示例#1
0
 public virtual IJT808Config Register(params Assembly[] externalAssemblies)
 {
     if (externalAssemblies != null)
     {
         foreach (var easb in externalAssemblies)
         {
             FormatterFactory.Register(easb);
             JT808_0X0200_Factory.Register(easb);
             JT808_0X0200_Custom_Factory.Register(easb);
             JT808_0X8103_Factory.Register(easb);
             JT808_0X8103_Custom_Factory.Register(easb);
         }
     }
     return(this);
 }
示例#2
0
 /// <summary>
 /// 外部扩展程序集注册
 /// </summary>
 /// <param name="externalAssemblies"></param>
 /// <returns></returns>
 public virtual IJT808Config Register(params Assembly[] externalAssemblies)
 {
     if (externalAssemblies != null)
     {
         foreach (var easb in externalAssemblies)
         {
             MsgIdFactory.Register(easb);
             FormatterFactory.Register(easb);
             JT808_0X0200_Factory.Register(easb);
             JT808_0X0200_Custom_Factory.Register(easb);
             JT808_0X8103_Factory.Register(easb);
             JT808_0X8103_Custom_Factory.Register(easb);
             JT808_0x0900_Custom_Factory.Register(easb);
             JT808_0x8900_Custom_Factory.Register(easb);
             JT808_0x8500_2019_Factory.Register(easb);
             JT808_CarDVR_Up_Factory.Register(easb);
             JT808_CarDVR_Down_Factory.Register(easb);
         }
     }
     return(this);
 }