weighter.service.config 2.2 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration" />
  </configSections>
  <unity>
    <assembly name="FLY.Weight" />
    <namespace name="FLY.Weight.IService" />
    <namespace name="FLY.Weight.Client" />
    <namespace name="FLY.Weight.Server.Model" />
    <assembly name="FLY.OBJComponents" />
    <namespace name="FLY.OBJComponents.IService" />
    <namespace name="FLY.OBJComponents.Client" />
潘栩锋's avatar
潘栩锋 committed
14 15
    <assembly name="FLY.Weight.UI.Client" />
    <namespace name="FLY.Weight.UI.Client" />
潘栩锋's avatar
潘栩锋 committed
16 17
    <alias alias="WarningReasonWindow" type="FLY.Thick.Base.UI.WarningReasonWindow,FLY.Thick.Base.UI" />
    <container>
潘栩锋's avatar
潘栩锋 committed
18
      <register type="IWeightSystemService" mapTo="WeightSystemServiceClientWithColor">
潘栩锋's avatar
潘栩锋 committed
19 20
        <lifetime type="singleton" />
        <constructor>
潘栩锋's avatar
潘栩锋 committed
21
          <param name="serviceId" value="35000" />
潘栩锋's avatar
潘栩锋 committed
22 23 24
          <param name="connName" dependencyName="cn2" />
        </constructor>
      </register>
潘栩锋's avatar
潘栩锋 committed
25
      <register type="IBuffer[Lc_Flow]" mapTo="BufferServiceClient[Lc_Flow]">
潘栩锋's avatar
潘栩锋 committed
26 27
        <lifetime type="singleton" />
        <constructor>
潘栩锋's avatar
潘栩锋 committed
28
          <param name="serviceId" value="35004" />
潘栩锋's avatar
潘栩锋 committed
29 30 31
          <param name="connName" dependencyName="cn2" />
        </constructor>
      </register>
潘栩锋's avatar
潘栩锋 committed
32
      <register type="MixBufferCollection">
潘栩锋's avatar
潘栩锋 committed
33 34
        <lifetime type="singleton" />
        <constructor>
潘栩锋's avatar
潘栩锋 committed
35
          <param name="baseId" value="35005" />
潘栩锋's avatar
潘栩锋 committed
36 37 38
          <param name="connName" dependencyName="cn2" />
        </constructor>
      </register>
潘栩锋's avatar
潘栩锋 committed
39
      <register type="IWarningService" mapTo="WarningServiceClient" name="weighterWarningService">
潘栩锋's avatar
潘栩锋 committed
40 41
        <lifetime type="singleton" />
        <constructor>
潘栩锋's avatar
潘栩锋 committed
42
          <param name="serviceId" value="20000" />
潘栩锋's avatar
潘栩锋 committed
43 44 45
          <param name="connName" dependencyName="cn2" />
        </constructor>
      </register>
潘栩锋's avatar
潘栩锋 committed
46
      <register type="WarningReasonWindow" name="weighterWarningReasonWindow">
潘栩锋's avatar
潘栩锋 committed
47 48
        <lifetime type="singleton" />
        <constructor>
潘栩锋's avatar
潘栩锋 committed
49
          <param name="warningService" dependencyName="weighterWarningService" />
潘栩锋's avatar
潘栩锋 committed
50 51 52 53 54 55
          <param name="size" value="100" />
        </constructor>
      </register>
    </container>
  </unity>
</configuration>