<?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.Thick.Base.UI" />
    <!--引用命名空间-->
    <namespace name="FLY.Thick.Base.UI" />
    
    <container>
      <register type="WarningReasonWindow">
        <lifetime type="singleton" />
        <constructor>
          <param name="warningService" />
          <param name="size" value="100" />
        </constructor>
      </register>
      <register type="LCUS1" mapTo="LCUS1_dependOn">
        <lifetime type="singleton" />
      </register>
      <register 
        type="System.Windows.Window,PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" 
        mapTo="FLY.Thick.Blowing.UI.Fix.Client.WdIOTip,FLY.Thick.Blowing.UI"
        name="wdIOTip">
      </register>

      <register 
      type="WarningReasonWindow" 
      name="airRingWarningReasonWindow">
        <lifetime type="singleton" />
        <constructor>
          <param name="warningService" dependencyName="airRingWarningService"/>
          <param name="size" value="100" />
        </constructor>
      </register>
      
      <register 
      type="WarningReasonWindow" 
      name="weighterWarningReasonWindow">
        <lifetime type="singleton" />
        <constructor>
          <param name="warningService" dependencyName="weighterWarningService"/>
          <param name="size" value="100" />
        </constructor>
      </register>
    </container>
  </unity>
</configuration>