コード例 #1
0
 protected GlobalConfigBase()
 {
     Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
     Encoding               = Encoding.GetEncoding("GBK");
     BusinessTypeFactory    = new JT809BusinessTypeFactory();
     SubBusinessTypeFactory = new JT809SubBusinessTypeFactory();
     FormatterFactory       = new JT809FormatterFactory();
 }
コード例 #2
0
 protected JT809GlobalConfigBase(JT809Version version = JT809Version.JTT2011)
 {
     Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
     Encoding               = Encoding.GetEncoding("GBK");
     BusinessTypeFactory    = new JT809BusinessTypeFactory();
     SubBusinessTypeFactory = new JT809SubBusinessTypeFactory();
     FormatterFactory       = new JT809FormatterFactory();
     Version = version;
 }
コード例 #3
0
 protected JT809GlobalConfigBase(JT809Version version = JT809Version.JTT2011)
 {
     Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
     Encoding               = Encoding.GetEncoding("GBK");
     BusinessTypeFactory    = new JT809BusinessTypeFactory();
     SubBusinessTypeFactory = new JT809SubBusinessTypeFactory();
     FormatterFactory       = new JT809FormatterFactory();
     Version          = version;
     AnalyzeCallbacks = new Dictionary <ushort, JT808AnalyzeCallback>();
 }