ibc.service.config 1.82 KB
Newer Older
潘栩锋's avatar
潘栩锋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?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.IBC" />
    <namespace name="FLY.IBC.IService" />
    <namespace name="FLY.IBC.Client" />
    <namespace name="FLY.IBC.Server.Model" />
    <assembly name="FLY.OBJComponents" />
    <namespace name="FLY.OBJComponents.IService" />
    <namespace name="FLY.OBJComponents.Client" />
    <alias alias="WarningReasonWindow" type="FLY.Thick.Base.UI.WarningReasonWindow,FLY.Thick.Base.UI" />
    <container>
潘栩锋's avatar
潘栩锋 committed
16
      <register type="IIbcSystemService" mapTo="IbcSystemServiceClient">
潘栩锋's avatar
潘栩锋 committed
17 18 19 20 21 22
        <lifetime type="singleton" />
        <constructor>
          <param name="serviceId" value="32000" />
          <param name="connName" dependencyName="cn3" />
        </constructor>
      </register>
潘栩锋's avatar
潘栩锋 committed
23
      <register type="IBuffer[Db_Width]" mapTo="BufferServiceClient[Db_Width]">
潘栩锋's avatar
潘栩锋 committed
24 25 26 27 28 29
        <lifetime type="singleton" />
        <constructor>
          <param name="serviceId" value="32004" />
          <param name="connName" dependencyName="cn3" />
        </constructor>
      </register>
潘栩锋's avatar
潘栩锋 committed
30
      <register type="IWarningService" mapTo="WarningServiceClient" name="ibcWarningService">
潘栩锋's avatar
潘栩锋 committed
31 32 33 34 35 36
        <lifetime type="singleton" />
        <constructor>
          <param name="serviceId" value="20000" />
          <param name="connName" dependencyName="cn3" />
        </constructor>
      </register>
潘栩锋's avatar
潘栩锋 committed
37
      <register type="WarningReasonWindow" name="ibcWarningReasonWindow">
潘栩锋's avatar
潘栩锋 committed
38 39
        <lifetime type="singleton" />
        <constructor>
潘栩锋's avatar
潘栩锋 committed
40
          <param name="warningService" dependencyName="ibcWarningService" />
潘栩锋's avatar
潘栩锋 committed
41 42 43 44 45 46
          <param name="size" value="100" />
        </constructor>
      </register>
    </container>
  </unity>
</configuration>