Commit 66d2a7ef authored by 潘栩锋's avatar 潘栩锋 🚴

所有都包含的unity配置文件

parent 485c6185
......@@ -10,6 +10,8 @@
<namespace name="FLY.FeedbackRenZiJia.IService" />
<namespace name="FLY.FeedbackRenZiJia.Client" />
<alias alias="WarningReasonWindow" type="FLY.Thick.Base.UI.WarningReasonWindow,FLY.Thick.Base.UI" />
<container>
<register
......@@ -78,6 +80,18 @@
<param name="connName" dependencyName="cn1" />
</constructor>
</register>
<register
type="WarningReasonWindow"
name="airRingWarningReasonWindow">
<lifetime type="singleton" />
<constructor>
<param name="warningService" dependencyName="airRingWarningService"/>
<param name="size" value="100" />
</constructor>
</register>
</container>
</unity>
</configuration>
\ No newline at end of file
......@@ -4,16 +4,38 @@
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration" />
</configSections>
<unity>
<!--引用程序集-->
<assembly name="FLY.Thick.BulkDataModule" />
<!--引用命名空间-->
<namespace name="FLY.Thick.BulkDataModule" />
<!--引用程序集-->
<assembly name="FLY.Thick.Blowing" />
<!--引用命名空间-->
<namespace name="FLY.Thick.Blowing.IService" />
<namespace name="FLY.Thick.Blowing.Client" />
<!--引用程序集-->
<assembly name="FLY.Thick.Base" />
<!--引用命名空间-->
<namespace name="FLY.Thick.Base.IService" />
<namespace name="FLY.Thick.Base.Client" />
<!--引用程序集-->
<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="FLY.Thick.BulkDataModule.BulkDataServiceClientAdv,FLY.Thick.BulkDataModule" >
<register type="BulkDataServiceClientAdv" >
<lifetime type="singleton" />
</register>
<!-- public const UInt32 BULK_ID = 30001; -->
<register
type="FLY.Thick.BulkDataModule.IBulkDataService,FLY.Thick.BulkDataModule"
mapTo="FLY.Thick.BulkDataModule.BulkDataServiceClient,FLY.Thick.BulkDataModule">
<register type="IBulkDataService" mapTo="BulkDataServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30001" />
......@@ -22,9 +44,7 @@
</register>
<!-- public const UInt32 BFPROFILE_ID = 30002; -->
<register
type="FLY.Thick.Blowing.IService.IBlowingFixProfileService,FLY.Thick.Blowing"
mapTo="FLY.Thick.Blowing.Client.BlowingFixProfileServiceClient,FLY.Thick.Blowing">
<register type="IBlowingFixProfileService" mapTo="BlowingFixProfileServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30002" />
......@@ -33,9 +53,7 @@
</register>
<!-- public const UInt32 CURVE_ID = 30003; -->
<register
type="FLY.Thick.Base.IService.ICurveService,FLY.Thick.Base"
mapTo="FLY.Thick.Base.Client.CurveServiceClient,FLY.Thick.Base">
<register type="ICurveService" mapTo="CurveServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30003" />
......@@ -44,9 +62,7 @@
</register>
<!-- public const UInt32 INITPARAM_ID = 30004; -->
<register
type="FLY.Thick.Base.IService.IInitParamService,FLY.Thick.Base"
mapTo="FLY.Thick.Base.Client.InitParamServiceClient,FLY.Thick.Base">
<register type="IInitParamService" mapTo="InitParamServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30004" />
......@@ -55,9 +71,7 @@
</register>
<!-- public const UInt32 DYNAREA_ID = 30005; -->
<register
type="FLY.Thick.Base.IService.IDynAreaService,FLY.Thick.Base"
mapTo="FLY.Thick.Base.Client.DynAreaServiceClient,FLY.Thick.Base">
<register type="IDynAreaService" mapTo="DynAreaServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30005" />
......@@ -66,9 +80,7 @@
</register>
<!-- public const UInt32 FLYAD_ID = 30006; -->
<register
type="FLY.Thick.Base.IService.IFlyADService,FLY.Thick.Base"
mapTo="FLY.Thick.Base.Client.FlyADServiceClient,FLY.Thick.Base">
<register type="IFlyADService" mapTo="FlyADServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30006" />
......@@ -77,9 +89,7 @@
</register>
<!-- public const UInt32 FIX_ID = 30007; -->
<register
type="FLY.Thick.Base.IService.IFixService,FLY.Thick.Base"
mapTo="FLY.Thick.Base.Client.FixServiceClient,FLY.Thick.Base">
<register type="IFixService" mapTo="FixServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30007" />
......@@ -88,22 +98,22 @@
</register>
<!-- public const UInt32 RENZIJIA_ID = 30009; -->
<register type="FLY.Thick.Blowing.IService.IBlowingFixService,FLY.Thick.Blowing" mapTo="FLY.Thick.Blowing.Client.BlowingFixServiceClient,FLY.Thick.Blowing">
<register type="IBlowingFixService" mapTo="BlowingFixServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30009" />
<param name="connName" dependencyName="cn0" />
</constructor>
</register>
<register type="FLY.Thick.Blowing.IService.IBlowingService,FLY.Thick.Blowing" mapTo="FLY.Thick.Blowing.Client.BlowingFixServiceClient,FLY.Thick.Blowing">
<register type="IBlowingService" mapTo="BlowingFixServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30009" />
<param name="connName" dependencyName="cn0" />
</constructor>
</register>
<!-- public const UInt32 BDETECT_ID = 30010; -->
<register type="FLY.Thick.Blowing.IService.IBlowingDetectService,FLY.Thick.Blowing" mapTo="FLY.Thick.Blowing.Client.BlowingDetectServiceClient,FLY.Thick.Blowing">
<!-- public const UInt32 BDETECT_ID = 30010; -->
<register type="IBlowingDetectService" mapTo="BlowingDetectServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30010" />
......@@ -111,8 +121,8 @@
</constructor>
</register>
<!-- public const UInt32 SCANWARNING_ID = 30011 -->
<register type="FLY.Thick.Blowing.IService.IScanWarningService,FLY.Thick.Blowing" mapTo="FLY.Thick.Blowing.Client.ScanWarningServiceClient,FLY.Thick.Blowing">
<!-- public const UInt32 SCANWARNING_ID = 30011 -->
<register type="IScanWarningService" mapTo="ScanWarningServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30011" />
......@@ -120,7 +130,7 @@
</constructor>
</register>
<!-- public const UInt32 BULKDB_ID = 30012; -->
<!-- public const UInt32 BULKDB_ID = 30012; -->
<!-- <register type="FLY.Thick.Blowing.IService.IBulkDbService,FLY.Thick.Blowing" mapTo="FLY.Thick.Blowing.Client.BulkDbServiceClient,FLY.Thick.Blowing">
<lifetime type="singleton" />
<constructor>
......@@ -129,18 +139,21 @@
</constructor>
</register> -->
<!-- public const UInt32 WARNING_OBJ_ID = 30013; -->
<!-- public const UInt32 WARNING_OBJ_REASONLIST_ID = 30014; -->
<!-- public const UInt32 WARNING_OBJ_NEWESTLIST_ID = 30015; -->
<register type="FLY.OBJComponents.IService.IWarningService,FLY.OBJComponents" mapTo="FLY.OBJComponents.Client.WarningServiceClient,FLY.OBJComponents">
<register type="IWarningService" mapTo="WarningServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="30013" />
<param name="serviceId" value="20000" />
<param name="connName" dependencyName="cn0" />
</constructor>
</register>
<register type="WarningReasonWindow">
<lifetime type="singleton" />
<constructor>
<param name="warningService" />
<param name="size" value="100" />
</constructor>
</register>
</container>
......
......@@ -10,13 +10,7 @@
<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>
......@@ -26,25 +20,9 @@
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>
\ No newline at end of file
......@@ -8,6 +8,8 @@
<instance name="cn0" value="blowing" />
<instance name="cn1" value="airRing" />
<instance name="cn2" value="weighter" />
<instance name="cn3" value="ibc" />
<instance name="cn4" value="winder" />
</container>
</unity>
......
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration"/>
</configSections>
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
<!--引用程序集-->
<assembly name="FLY.IBC.UI.Client" />
<!--引用命名空间-->
<namespace name="FLY.IBC.UI.Client.UiModule" />
<alias alias="IUiModule2" type="MultiLayout.UiModule.IUiModule2, MultiLayout" />
<container>
<!--按钮区-->
<register type="IUiModule2" mapTo="UiModule2_MenuSetting" name="ibc_ms" />
<!--动态区-->
<register type="IUiModule2" mapTo="UiModule2_DynAreaIbc" name="ibc_d" />
<!--图表区-->
<register type="IUiModule2" mapTo="UiModule2_MainPanel" name="ibc_mp" />
</container>
</unity>
</configuration>
\ No newline at end of file
<?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>
<register
type="IIbcSystemService"
mapTo="IbcSystemServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="32000" />
<param name="connName" dependencyName="cn3" />
</constructor>
</register>
<register
type="IBuffer[Db_Width]"
mapTo="BufferServiceClient[Db_Width]">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="32004" />
<param name="connName" dependencyName="cn3" />
</constructor>
</register>
<register
type="IWarningService"
mapTo="WarningServiceClient"
name="ibcWarningService" >
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="20000" />
<param name="connName" dependencyName="cn3" />
</constructor>
</register>
<register
type="WarningReasonWindow"
name="ibcWarningReasonWindow">
<lifetime type="singleton" />
<constructor>
<param name="warningService" dependencyName="ibcWarningService"/>
<param name="size" value="100" />
</constructor>
</register>
</container>
</unity>
</configuration>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration"/>
</configSections>
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
<!--引用程序集-->
<assembly name="FLY.Integrated.UI.Client" />
<!--引用命名空间-->
<namespace name="FLY.Integrated.UI.Client.UiModule" />
<alias alias="IUiModule2" type="MultiLayout.UiModule.IUiModule2, MultiLayout" />
<container>
<!--按钮区-->
<register type="IUiModule2" mapTo="UiModule2_MenuSetting" name="integrated_ms" />
<!--动态区-->
<register type="IUiModule2" mapTo="UiModule2_DynAreaIbc" name="integrated_da" />
<!--图表区-->
<register type="IUiModule2" mapTo="UiModule2_RotaryPanel" name="integrated_rp" />
<register type="IUiModule2" mapTo="UiModule2_IbcPanel" name="integrated_ip" />
<register type="IUiModule2" mapTo="UiModule2_IbcCtrlGraph" name="integrated_icg" />
<register type="IUiModule2" mapTo="UiModule2_TractionPanel" name="integrated_tp" />
</container>
</unity>
</configuration>
\ No newline at end of file
<?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.Integrated" />
<!--引用命名空间-->
<namespace name="FLY.Integrated.IService" />
<namespace name="FLY.Integrated.Client" />
<namespace name="FLY.Integrated.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="IIntegratedSystemService"
mapTo="IntegratedSystemServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="34000" />
<param name="connName" dependencyName="cn4" />
</constructor>
</register>
<register
type="IBuffer[Db_Width]"
mapTo="BufferServiceClient[Db_Width]">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="34004" />
<param name="connName" dependencyName="cn4" />
</constructor>
</register>
<register
type="IWarningService"
mapTo="WarningServiceClient"
name="integratedWarningService" >
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="20000" />
<param name="connName" dependencyName="cn4" />
</constructor>
</register>
<register
type="WarningReasonWindow"
name="integratedWarningReasonWindow">
<lifetime type="singleton" />
<constructor>
<param name="warningService" dependencyName="integratedWarningService"/>
<param name="size" value="100" />
</constructor>
</register>
</container>
</unity>
</configuration>
\ No newline at end of file
......@@ -7,7 +7,10 @@
"Path":[
"blowing.component.config",
"airRing.component.config",
"weighter.component.config"
"weighter.component.config",
"ibc.component.config",
"winder.component.config",
"integrated.component.config"
]
},
{
......@@ -29,6 +32,9 @@
"blowing.service.config",
"airRing.service.config",
"weighter.service.config",
"ibc.service.config",
"winder.service.config",
"integrated.service.config",
"clientService.config"]
}
]
......
......@@ -22,6 +22,10 @@
<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="IWarningService"
......@@ -63,6 +67,15 @@
</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>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="unity" type="Microsoft.Practices.Unity.Configuration.UnityConfigurationSection,Unity.Configuration"/>
</configSections>
<unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
<!--引用程序集-->
<assembly name="FLY.Winder.UI.Client" />
<!--引用命名空间-->
<namespace name="FLY.Winder.UI.Client.UiModule" />
<alias alias="IUiModule2" type="MultiLayout.UiModule.IUiModule2, MultiLayout" />
<container>
<!--按钮区-->
<register type="IUiModule2" mapTo="UiModule2_MenuSetting" name="winder_ms" />
<!--动态区-->
<register type="IUiModule2" mapTo="UiModule2_DynAreaWinder" name="winder_da" />
<!--图表区-->
<register type="IUiModule2" mapTo="UiModule2_MainPanel" name="winder_mp" />
<register type="IUiModule2" mapTo="UiModule2_CenterWinderPanel" name="winder_cwp" />
</container>
</unity>
</configuration>
\ No newline at end of file
<?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.Winder" />
<!--引用命名空间-->
<namespace name="FLY.Winder.IService" />
<namespace name="FLY.Winder.Client" />
<namespace name="FLY.Winder.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="IWinderSystemService"
mapTo="WinderSystemServiceClient">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="33000" />
<param name="connName" dependencyName="cn4" />
</constructor>
</register>
<register
type="IBuffer[Db_WinderInfo]"
mapTo="BufferServiceClient[Db_WinderInfo]">
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="33004" />
<param name="connName" dependencyName="cn4" />
</constructor>
</register>
<register
type="IWarningService"
mapTo="WarningServiceClient"
name="winderWarningService" >
<lifetime type="singleton" />
<constructor>
<param name="serviceId" value="20000" />
<param name="connName" dependencyName="cn4" />
</constructor>
</register>
<register
type="WarningReasonWindow"
name="winderWarningReasonWindow">
<lifetime type="singleton" />
<constructor>
<param name="warningService" dependencyName="winderWarningService"/>
<param name="size" value="100" />
</constructor>
</register>
</container>
</unity>
</configuration>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment