把规则独立出来,实现和数据的分离,然后通过规则引擎来编写成规则包,在通过webservice来调用规则即可
RuleServerPoolFactory.registerServer("192.168.1.105", 1508);
RuleServerPoolFactory factory = RuleServerPoolFactory.getFactory();
factory.StreamType = 1;
for (int k = 0; k < 10; k++)
{
long l = DateTime.Now.Ticks;
for (int i = 0; i < 100; i++)
{
RuleService ruleEngine = factory.RuleService;