downBlowing.service.config 1.61 KB
<?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.DownBlowing" />
    <namespace name="FLY.DownBlowing.IService" />
    <namespace name="FLY.DownBlowing.Client" />
    <namespace name="FLY.DownBlowing.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>
      <register type="IDownBlowingSystemService" mapTo="DownBlowingSystemServiceClient">
        <lifetime type="singleton" />
        <constructor>
          <param name="serviceId" value="38000" />
          <param name="connName" dependencyName="cn4" />
        </constructor>
      </register>
      <register type="IWarningService" mapTo="WarningServiceClient" name="downBlowingWarningService">
        <lifetime type="singleton" />
        <constructor>
          <param name="serviceId" value="20000" />
          <param name="connName" dependencyName="cn4" />
        </constructor>
      </register>
      <register type="WarningReasonWindow" name="downBlowingWarningReasonWindow">
        <lifetime type="singleton" />
        <constructor>
          <param name="warningService" dependencyName="winderWarningService" />
          <param name="size" value="100" />
        </constructor>
      </register>
    </container>
  </unity>
</configuration>