├── Lfz.MqListener.WindowService
├── readme.txt
├── 安装服务.bat
├── 卸载服务.bat
├── 调度.ico
├── Config
│ └── autoupdater.json
├── Program.cs
├── ProjectInstaller.cs
├── Service1.cs
├── Service1.Designer.cs
├── Properties
│ └── AssemblyInfo.cs
└── App.config
├── Lib
├── AopSdk.dll
├── LibCurlNet.dll
├── NLog
│ └── NLog.dll
├── Excel导出模板工具
│ ├── NPOI.dll
│ ├── IrisSkin2.dll
│ ├── NPOI.OOXML.dll
│ ├── ExcelReport.dll
│ ├── NPOI.Extend.dll
│ ├── XmlGenerator.exe
│ ├── NPOI.OpenXml4Net.dll
│ ├── NPOI.OpenXmlFormats.dll
│ ├── XmlGenerator.vshost.exe
│ ├── ICSharpCode.SharpZipLib.dll
│ └── XmlGenerator.vshost.exe.manifest
├── ThirdPart
│ ├── LitJSON.dll
│ └── MvcPager.dll
├── ActiveMQ
│ ├── Apache.NMS.dll
│ └── Apache.NMS.ActiveMQ.dll
├── Json
│ └── Newtonsoft.Json.dll
├── Interop.IWshRuntimeLibrary.dll
├── SharpCompress
│ └── SharpCompress.dll
├── WebApiNET4
│ ├── System.Net.Http.dll
│ ├── System.Web.Http.dll
│ ├── System.Net.Http.Formatting.dll
│ └── System.Net.Http.WebRequest.dll
├── NHibernate.4.0.4.4000
│ └── NHibernate.dll
├── MySql.Data.6.9.8
│ ├── net40
│ │ └── MySql.Data.dll
│ └── net45
│ │ └── MySql.Data.dll
├── FluentNHibernate.2.0.3.0
│ └── FluentNHibernate.dll
└── ServiceStack.Redis.3.9.71
│ ├── ServiceStack.Common.dll
│ ├── ServiceStack.Redis.dll
│ ├── ServiceStack.Text.dll
│ └── ServiceStack.Interfaces.dll
├── .nuget
├── NuGet.exe
└── NuGet.Config
├── Lfz.Core
├── IWebHelper.cs
├── WebHelper.cs
├── Data
│ ├── IRepository.cs
│ ├── Repository.cs
│ ├── EfRepository.cs
│ ├── Nh
│ │ ├── INhRepository.cs
│ │ ├── Entities
│ │ │ ├── EntityMap.cs
│ │ │ ├── MetaEntityBase.cs
│ │ │ ├── DefaultMap.cs
│ │ │ └── GuidMap.cs
│ │ ├── Providers
│ │ │ ├── AbstractDataServicesProvider.cs
│ │ │ ├── AbstractDataServicesProvider.partial.cs
│ │ │ ├── IDataServicesProviderFactory.cs
│ │ │ ├── IDataServicesProvider.cs
│ │ │ ├── DataServicesProviderFactory.cs
│ │ │ ├── SqlServerDataServicesProvider.cs
│ │ │ ├── MySqlDataServicesProvider.cs
│ │ │ └── MsSqlCeConfiguration.cs
│ │ ├── Conventions
│ │ │ ├── CascadeAllDeleteOrphanAttribute.cs
│ │ │ ├── StringLengthMaxAttribute.cs
│ │ │ ├── AggregateAttribute.cs
│ │ │ ├── CascadeAllDeleteOrphanConvention.cs
│ │ │ ├── StringLengthConvention.cs
│ │ │ ├── CacheConvention.cs
│ │ │ ├── AttributeCollectionConvention.cs
│ │ │ └── ReferenceConvention.cs
│ │ ├── NhRepository.partial.cs
│ │ └── INhTypeProvider.cs
│ ├── MappingConfiguration.cs
│ ├── RawSql
│ │ ├── BusinessService.cs
│ │ ├── RawSqlSearchService.cs
│ │ ├── DbProvider.cs
│ │ ├── DbProviderConfig.cs
│ │ ├── TemplateColumnDataType.cs
│ │ ├── TemplateDataSourceType.cs
│ │ └── IDbProviderConfig.cs
│ ├── ISessionConfigurationCache.cs
│ ├── SessionConfigurationCache.cs
│ ├── DefaultDatabaseCacheConfiguration.cs
│ ├── Conventions
│ │ ├── RecordTableNameConvention.cs
│ │ ├── CascadeAllDeleteOrphanAttribute.cs
│ │ ├── StringLengthConvention.cs
│ │ ├── CacheConvention.cs
│ │ ├── AttributeCollectionConvention.cs
│ │ └── AggregateAttribute.cs
│ ├── Providers
│ │ ├── SqlServerDataServicesProvider.cs
│ │ ├── IDataServicesProviderFactory.cs
│ │ ├── SessionFactoryParameters.cs
│ │ ├── DataServiceParameters.cs
│ │ ├── IDataServicesProvider.cs
│ │ ├── MySqlDataServicesProvider.cs
│ │ └── DataServicesProviderFactory.cs
│ ├── ISessionLocator.cs
│ ├── IDatabaseCacheConfiguration.cs
│ ├── KeyValueEntity.cs
│ ├── Infrastructure
│ │ ├── BaseDataProviderManager.cs
│ │ ├── IEfDataProvider.cs
│ │ ├── IDataProvider.cs
│ │ ├── EfDataProviderManager.cs
│ │ ├── SqlCeDataProvider.cs
│ │ └── BaseEfDataProvider.cs
│ ├── DescriptionAttribute.cs
│ ├── Extensions.cs
│ ├── EntityMappingBase.cs
│ ├── SelectTreeListItem.cs
│ ├── Schema
│ │ └── StringLengthAttribute.cs
│ ├── Initializers
│ │ └── DropCreateCeDatabaseAlways.cs
│ ├── DataModule.cs
│ └── CommandInfo.cs
├── Enums
│ ├── DataStatus.cs
│ ├── ChoseYesOrNo.cs
│ ├── Hr
│ │ ├── RightHrType.cs
│ │ ├── ModuleRightsType.cs
│ │ ├── HrDepartmentType.cs
│ │ ├── RightValue.cs
│ │ └── InternalUserRoleType.cs
│ ├── PermissionType.cs
│ ├── Sex.cs
│ ├── AsynchronousCallStatus.cs
│ ├── DelFlag.cs
│ ├── FuncListen.cs
│ ├── TreeLevel.cs
│ ├── BindingMoblieStatus.cs
│ ├── AttachmentType.cs
│ └── UserDataStatus.cs
├── Logging
│ ├── ILogger.cs
│ ├── NullLogger.cs
│ ├── LoggerType.cs
│ ├── LogLevel.cs
│ └── ConsoleLoger.cs
├── Rest
│ ├── JsonContent.cs
│ ├── JsonUtils.cs
│ ├── RestStatus.cs
│ ├── IJsonContent.cs
│ ├── ResponseContent.cs
│ ├── RestContentBase.cs
│ ├── HttpContextExtension.cs
│ ├── JsonPropertyFilterEnum.cs
│ ├── RestContentContractResolver.cs
│ ├── RestContentBaseExtenstion.cs
│ └── RestResolverFilterAttribute.cs
├── Utitlies
│ ├── UrlOper.cs
│ ├── ZipHelper.cs
│ ├── AppUnitity.cs
│ └── Utils.Regex.cs
├── WebApi
│ ├── ApiResult.cs
│ ├── PagedApiResult.cs
│ └── ServerApiStatus.cs
├── Models
│ ├── ISearchHit.cs
│ ├── KeySearchHit.cs
│ ├── PageIndexChangedHit.cs
│ ├── PropertyTrackStatus.cs
│ ├── SearchHitBase.cs
│ ├── IViewStateSearchHit.cs
│ ├── ListItem.cs
│ ├── SearchHit.cs
│ └── PropertyTrackInfo.cs
├── Mq
│ ├── MqInstanceInfo.cs
│ ├── MqClientConfigInfo.cs
│ ├── ActiveMQ
│ │ └── ActiveMQPoolConnectionManager.cs
│ └── IMqConfigService.cs
├── Redis
│ ├── RedisConfig.cs
│ └── IRedisConfigService.cs
├── Network
│ ├── BufferManager.cs
│ ├── DataEventArgs.cs
│ ├── PacketBufferToken.cs
│ ├── TcpClientService.cs
│ ├── TcpListenServiceBase.cs
│ ├── UdpListenServiceBase.cs
│ ├── UdpReceviceEventArgs.cs
│ ├── HttpListenServiceBase.cs
│ ├── SocketAsyncEventArgsPool.cs
│ ├── UdpSyncListenServiceBase.cs
│ ├── SocketReceivedEventHandler.cs
│ ├── UdpSyncListenReceviceService.cs
│ ├── CallBackState.cs
│ └── TcpClientAsyncService.cs
├── Services
│ ├── ServiceBase.cs
│ ├── ThreadServiceBase.cs
│ ├── TimeServiceBase.cs
│ ├── ServiceEventHandler.cs
│ ├── IInstallService.cs
│ ├── StringEventArgs.cs
│ ├── IService.cs
│ └── InstallService.cs
├── Caching
│ ├── RedisCacheManager.cs
│ ├── IAsyncTokenProvider.cs
│ ├── Weak.cs
│ ├── CacheModule.cs
│ └── IParallelCacheContext.cs
├── Collections
│ ├── QueryableExtentsion.cs
│ ├── IPageOfDatatable.cs
│ ├── IPageOfItems.cs
│ ├── PageOfItemsExtension.cs
│ └── IPagerInfo.cs
├── Config
│ ├── RunConfig.json
│ ├── Parameters.config
│ ├── IConfigInfo.cs
│ ├── EncryptContent.cs
│ ├── IConfigFileManager.cs
│ ├── RunConfig.cs
│ └── AppSettingsHelper.cs
├── Security
│ ├── Cryptography
│ │ └── RSACryption.cs
│ ├── AuthorizationManager.cs
│ ├── CustomX509Validator.cs
│ └── UserNamePasswordCustomValidator.cs
├── Commands
│ ├── ICommandResult.cs
│ ├── CommandHandlerNotFoundException.cs
│ ├── ValidationHandlerNotFoundException.cs
│ ├── DefaultCommandResult.cs
│ ├── IValidationHandler.cs
│ ├── ICommandBus.cs
│ ├── ICommandHandler.cs
│ └── CommandHandlerBase.cs
├── IO
│ ├── FileSystemSettings.cs
│ ├── IStorageFolder.cs
│ └── IStorageFile.cs
├── TcSoftVersion.cs
├── Properties
│ └── AssemblyInfo.cs
├── DataAnnotations
│ └── CustomRequiredAttribute.cs
├── IDependency.cs
├── CustomDescriptionAttribute.cs
└── Validation
│ └── ValidationResult.cs
├── Lfz.MqListener
├── 调度.ico
├── Config
│ └── autoupdater.json
├── Properties
│ └── AssemblyInfo.cs
└── App.config
├── Lfz.AutoUpdater
├── Rest
│ ├── JsonUtils.cs
│ ├── JsonContent.cs
│ ├── RestStatus.cs
│ ├── IJsonContent.cs
│ ├── ResponseContent.cs
│ ├── RestContentBase.cs
│ ├── JsonPropertyFilterEnum.cs
│ ├── RestContentContractResolver.cs
│ ├── RestContentBaseExtenstion.cs
│ └── RestResolverFilterAttribute.cs
├── autoupdater.ico
├── Logging
│ ├── ILogger.cs
│ ├── LogLevel.cs
│ ├── NullLogger.cs
│ ├── LoggerType.cs
│ └── ConsoleLoger.cs
├── Utitlies
│ ├── AppUnitity.cs
│ ├── ZipHelper.cs
│ └── Utils.Regex.cs
├── Config
│ ├── RunConfig.json
│ ├── IConfigInfo.cs
│ ├── autoupdater.json
│ └── RunConfig.cs
├── Properties
│ ├── Settings.settings
│ ├── Settings.Designer.cs
│ └── AssemblyInfo.cs
├── IO
│ ├── FileSystemSettings.cs
│ ├── IStorageFolder.cs
│ └── IStorageFile.cs
├── App.config
├── Program.cs
└── CustomDescriptionAttribute.cs
├── Lfz.MqListener.Service
├── Mq
│ ├── IMqProducerService.cs
│ └── MqCommandInfo.cs
├── Shared
│ ├── App
│ │ ├── AppBasicInfo.cs
│ │ └── MqAutoUpdateInfo.cs
│ ├── Enums
│ │ ├── MqListenerStatus.cs
│ │ ├── CacheVersionType.cs
│ │ ├── ClusterComputerType.cs
│ │ ├── StoreStatus.cs
│ │ └── CustomerInfoStatus.cs
│ ├── Models
│ │ ├── NMSMessageType.cs
│ │ ├── TopicName.cs
│ │ ├── QuqueName.cs
│ │ └── MqConsts.cs
│ ├── SysConfig.cs
│ └── ITreeContent.cs
├── Models
│ ├── Device
│ │ └── DeviceBasicInfo.cs
│ └── ConfigCenter
│ │ ├── ConfigCenterMqTable.cs
│ │ ├── ConfigCenterMqListener.cs
│ │ ├── ConfigCenterClusterComputer.cs
│ │ ├── ConfigCenterRedisCacheKey.cs
│ │ └── ConfigCenter_ModuleSettings.cs
├── CacheShared
│ └── RedisConfigService.cs
├── MqVistor
│ ├── IMqCommandQuqueVistor.cs
│ ├── SyncTable
│ │ ├── SyncBigDataServiceHelper.cs
│ │ ├── ISyncTableComand.cs
│ │ └── ComandHandler
│ │ │ └── SyncChargeCommandHandler.cs
│ ├── IMqCommandTopicVistor.cs
│ └── Heartbeat
│ │ ├── DeviceHeatbeatCommandVistor.cs
│ │ ├── DeviceRegisterCommandVistor.cs
│ │ ├── AppHeartbeatCommandVistor.cs
│ │ └── AppRegisterCommandVistor.cs
├── Config
│ └── AppSettingsHelperExtension.cs
├── Properties
│ └── AssemblyInfo.cs
├── Access
│ ├── ConfigCenterRedisCacheKeyAccess.cs
│ └── DeviceAccess.cs
└── Service
│ └── IConfigCenterMqListenerService.cs
├── README.md
└── Lfz.MqListener.DlqConsole
├── Properties
└── AssemblyInfo.cs
└── App.config
/Lfz.MqListener.WindowService/readme.txt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Lib/AopSdk.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/AopSdk.dll
--------------------------------------------------------------------------------
/.nuget/NuGet.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/.nuget/NuGet.exe
--------------------------------------------------------------------------------
/Lib/LibCurlNet.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/LibCurlNet.dll
--------------------------------------------------------------------------------
/Lib/NLog/NLog.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/NLog/NLog.dll
--------------------------------------------------------------------------------
/Lfz.Core/IWebHelper.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/IWebHelper.cs
--------------------------------------------------------------------------------
/Lfz.Core/WebHelper.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/WebHelper.cs
--------------------------------------------------------------------------------
/Lfz.MqListener/调度.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener/调度.ico
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/NPOI.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/NPOI.dll
--------------------------------------------------------------------------------
/Lib/ThirdPart/LitJSON.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ThirdPart/LitJSON.dll
--------------------------------------------------------------------------------
/Lfz.Core/Data/IRepository.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/IRepository.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/Repository.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Repository.cs
--------------------------------------------------------------------------------
/Lfz.Core/Enums/DataStatus.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Enums/DataStatus.cs
--------------------------------------------------------------------------------
/Lfz.Core/Logging/ILogger.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Logging/ILogger.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/JsonContent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/JsonContent.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/JsonUtils.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/JsonUtils.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/RestStatus.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/RestStatus.cs
--------------------------------------------------------------------------------
/Lfz.Core/Utitlies/UrlOper.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Utitlies/UrlOper.cs
--------------------------------------------------------------------------------
/Lfz.Core/WebApi/ApiResult.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/WebApi/ApiResult.cs
--------------------------------------------------------------------------------
/Lib/ActiveMQ/Apache.NMS.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ActiveMQ/Apache.NMS.dll
--------------------------------------------------------------------------------
/Lib/Json/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Json/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/Lib/ThirdPart/MvcPager.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ThirdPart/MvcPager.dll
--------------------------------------------------------------------------------
/Lfz.Core/Data/EfRepository.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/EfRepository.cs
--------------------------------------------------------------------------------
/Lfz.Core/Enums/ChoseYesOrNo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Enums/ChoseYesOrNo.cs
--------------------------------------------------------------------------------
/Lfz.Core/Models/ISearchHit.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Models/ISearchHit.cs
--------------------------------------------------------------------------------
/Lfz.Core/Mq/MqInstanceInfo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Mq/MqInstanceInfo.cs
--------------------------------------------------------------------------------
/Lfz.Core/Redis/RedisConfig.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Redis/RedisConfig.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/IJsonContent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/IJsonContent.cs
--------------------------------------------------------------------------------
/Lfz.Core/Utitlies/ZipHelper.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Utitlies/ZipHelper.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.WindowService/安装服务.bat:
--------------------------------------------------------------------------------
1 | C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe TCMqListener.exe
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/IrisSkin2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/IrisSkin2.dll
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/NPOI.OOXML.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/NPOI.OOXML.dll
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/JsonUtils.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/JsonUtils.cs
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/autoupdater.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/autoupdater.ico
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/INhRepository.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Nh/INhRepository.cs
--------------------------------------------------------------------------------
/Lfz.Core/Enums/Hr/RightHrType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Enums/Hr/RightHrType.cs
--------------------------------------------------------------------------------
/Lfz.Core/Enums/PermissionType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Enums/PermissionType.cs
--------------------------------------------------------------------------------
/Lfz.Core/Models/KeySearchHit.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Models/KeySearchHit.cs
--------------------------------------------------------------------------------
/Lfz.Core/Mq/MqClientConfigInfo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Mq/MqClientConfigInfo.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/BufferManager.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/BufferManager.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/DataEventArgs.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/DataEventArgs.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/ResponseContent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/ResponseContent.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/RestContentBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/RestContentBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Services/ServiceBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Services/ServiceBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Utitlies/AppUnitity.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Utitlies/AppUnitity.cs
--------------------------------------------------------------------------------
/Lfz.Core/WebApi/PagedApiResult.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/WebApi/PagedApiResult.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.WindowService/卸载服务.bat:
--------------------------------------------------------------------------------
1 | C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u TCMqListener.exe
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/ExcelReport.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/ExcelReport.dll
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/NPOI.Extend.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/NPOI.Extend.dll
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/XmlGenerator.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/XmlGenerator.exe
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Logging/ILogger.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Logging/ILogger.cs
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/JsonContent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/JsonContent.cs
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/RestStatus.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/RestStatus.cs
--------------------------------------------------------------------------------
/Lfz.Core/WebApi/ServerApiStatus.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/WebApi/ServerApiStatus.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.WindowService/调度.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.WindowService/调度.ico
--------------------------------------------------------------------------------
/Lib/Interop.IWshRuntimeLibrary.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Interop.IWshRuntimeLibrary.dll
--------------------------------------------------------------------------------
/Lib/SharpCompress/SharpCompress.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/SharpCompress/SharpCompress.dll
--------------------------------------------------------------------------------
/Lib/WebApiNET4/System.Net.Http.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/WebApiNET4/System.Net.Http.dll
--------------------------------------------------------------------------------
/Lib/WebApiNET4/System.Web.Http.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/WebApiNET4/System.Web.Http.dll
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/IJsonContent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/IJsonContent.cs
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Utitlies/AppUnitity.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Utitlies/AppUnitity.cs
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Utitlies/ZipHelper.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Utitlies/ZipHelper.cs
--------------------------------------------------------------------------------
/Lfz.Core/Caching/RedisCacheManager.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Caching/RedisCacheManager.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/MappingConfiguration.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/MappingConfiguration.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Entities/EntityMap.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Nh/Entities/EntityMap.cs
--------------------------------------------------------------------------------
/Lfz.Core/Enums/Hr/ModuleRightsType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Enums/Hr/ModuleRightsType.cs
--------------------------------------------------------------------------------
/Lfz.Core/Models/PageIndexChangedHit.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Models/PageIndexChangedHit.cs
--------------------------------------------------------------------------------
/Lfz.Core/Models/PropertyTrackStatus.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Models/PropertyTrackStatus.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/PacketBufferToken.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/PacketBufferToken.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/TcpClientService.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/TcpClientService.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/HttpContextExtension.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/HttpContextExtension.cs
--------------------------------------------------------------------------------
/Lfz.Core/Services/ThreadServiceBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Services/ThreadServiceBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Services/TimeServiceBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Services/TimeServiceBase.cs
--------------------------------------------------------------------------------
/Lib/ActiveMQ/Apache.NMS.ActiveMQ.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ActiveMQ/Apache.NMS.ActiveMQ.dll
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/NPOI.OpenXml4Net.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/NPOI.OpenXml4Net.dll
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/ResponseContent.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/ResponseContent.cs
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/RestContentBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/RestContentBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/RawSql/BusinessService.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/RawSql/BusinessService.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/TcpListenServiceBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/TcpListenServiceBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/UdpListenServiceBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/UdpListenServiceBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/UdpReceviceEventArgs.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/UdpReceviceEventArgs.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/JsonPropertyFilterEnum.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/JsonPropertyFilterEnum.cs
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/NPOI.OpenXmlFormats.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/NPOI.OpenXmlFormats.dll
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/XmlGenerator.vshost.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/XmlGenerator.vshost.exe
--------------------------------------------------------------------------------
/Lib/NHibernate.4.0.4.4000/NHibernate.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/NHibernate.4.0.4.4000/NHibernate.dll
--------------------------------------------------------------------------------
/Lfz.Core/Collections/QueryableExtentsion.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Collections/QueryableExtentsion.cs
--------------------------------------------------------------------------------
/Lfz.Core/Config/RunConfig.json:
--------------------------------------------------------------------------------
1 | {
2 | LoggerType: 3,
3 | ApiDomainUrl: "http://api.ziyouchi.com",
4 | EnabledEncrypt: false
5 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/ISessionConfigurationCache.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/ISessionConfigurationCache.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Entities/MetaEntityBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Nh/Entities/MetaEntityBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/RawSql/RawSqlSearchService.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/RawSql/RawSqlSearchService.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/SessionConfigurationCache.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/SessionConfigurationCache.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/HttpListenServiceBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/HttpListenServiceBase.cs
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/ICSharpCode.SharpZipLib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/Excel导出模板工具/ICSharpCode.SharpZipLib.dll
--------------------------------------------------------------------------------
/Lib/MySql.Data.6.9.8/net40/MySql.Data.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/MySql.Data.6.9.8/net40/MySql.Data.dll
--------------------------------------------------------------------------------
/Lib/MySql.Data.6.9.8/net45/MySql.Data.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/MySql.Data.6.9.8/net45/MySql.Data.dll
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Config/RunConfig.json:
--------------------------------------------------------------------------------
1 | {
2 | LoggerType: 3,
3 | ApiDomainUrl: "http://api.ziyouchi.com",
4 | EnabledEncrypt: false
5 | }
--------------------------------------------------------------------------------
/Lfz.Core/Models/SearchHitBase.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Models
2 | {
3 | public abstract class SearchHitBase : ISearchHit
4 | {
5 |
6 | }
7 | }
--------------------------------------------------------------------------------
/Lfz.Core/Network/SocketAsyncEventArgsPool.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/SocketAsyncEventArgsPool.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/UdpSyncListenServiceBase.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/UdpSyncListenServiceBase.cs
--------------------------------------------------------------------------------
/Lfz.Core/Rest/RestContentContractResolver.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Rest/RestContentContractResolver.cs
--------------------------------------------------------------------------------
/Lfz.Core/Security/Cryptography/RSACryption.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Security/Cryptography/RSACryption.cs
--------------------------------------------------------------------------------
/Lib/WebApiNET4/System.Net.Http.Formatting.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/WebApiNET4/System.Net.Http.Formatting.dll
--------------------------------------------------------------------------------
/Lib/WebApiNET4/System.Net.Http.WebRequest.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/WebApiNET4/System.Net.Http.WebRequest.dll
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/JsonPropertyFilterEnum.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/JsonPropertyFilterEnum.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/SocketReceivedEventHandler.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/SocketReceivedEventHandler.cs
--------------------------------------------------------------------------------
/Lfz.Core/Network/UdpSyncListenReceviceService.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Network/UdpSyncListenReceviceService.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Mq/IMqProducerService.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Mq/IMqProducerService.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/DefaultDatabaseCacheConfiguration.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/DefaultDatabaseCacheConfiguration.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Shared/App/AppBasicInfo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Shared/App/AppBasicInfo.cs
--------------------------------------------------------------------------------
/Lib/FluentNHibernate.2.0.3.0/FluentNHibernate.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/FluentNHibernate.2.0.3.0/FluentNHibernate.dll
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/RestContentContractResolver.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.AutoUpdater/Rest/RestContentContractResolver.cs
--------------------------------------------------------------------------------
/Lfz.Core/Mq/ActiveMQ/ActiveMQPoolConnectionManager.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Mq/ActiveMQ/ActiveMQPoolConnectionManager.cs
--------------------------------------------------------------------------------
/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Common.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Common.dll
--------------------------------------------------------------------------------
/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Redis.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Redis.dll
--------------------------------------------------------------------------------
/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Text.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Text.dll
--------------------------------------------------------------------------------
/Lfz.Core/Data/Conventions/RecordTableNameConvention.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Conventions/RecordTableNameConvention.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Models/Device/DeviceBasicInfo.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Models/Device/DeviceBasicInfo.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Shared/Enums/MqListenerStatus.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Shared/Enums/MqListenerStatus.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Shared/Models/NMSMessageType.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Shared/Models/NMSMessageType.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Providers/AbstractDataServicesProvider.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Nh/Providers/AbstractDataServicesProvider.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/Providers/SqlServerDataServicesProvider.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Providers/SqlServerDataServicesProvider.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/CacheShared/RedisConfigService.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/CacheShared/RedisConfigService.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/MqVistor/IMqCommandQuqueVistor.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/MqVistor/IMqCommandQuqueVistor.cs
--------------------------------------------------------------------------------
/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Interfaces.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lib/ServiceStack.Redis.3.9.71/ServiceStack.Interfaces.dll
--------------------------------------------------------------------------------
/Lfz.Core/Models/IViewStateSearchHit.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Models
2 | {
3 | public interface IViewStateSearchHit
4 | {
5 | string SearchHitViewState { get; set; }
6 | }
7 | }
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterMqTable.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterMqTable.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Providers/AbstractDataServicesProvider.partial.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.Core/Data/Nh/Providers/AbstractDataServicesProvider.partial.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterMqListener.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterMqListener.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/MqVistor/SyncTable/SyncBigDataServiceHelper.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/MqVistor/SyncTable/SyncBigDataServiceHelper.cs
--------------------------------------------------------------------------------
/.nuget/NuGet.Config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Lfz.Core/Models/ListItem.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Models
2 | {
3 | public class ListItem
4 | {
5 | public string Text { get; set; }
6 | public object Value { get; set; }
7 | }
8 | }
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterClusterComputer.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterClusterComputer.cs
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterRedisCacheKey.cs:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lfz233002072/activemq/HEAD/Lfz.MqListener.Service/Models/ConfigCenter/ConfigCenterRedisCacheKey.cs
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Entities/DefaultMap.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Data.Nh.Entities
2 | {
3 | public abstract class DefaultMap :
4 | EntityMap where T : EntityBase
5 | {
6 |
7 | }
8 |
9 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Conventions/CascadeAllDeleteOrphanAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Lfz.Data.Nh.Conventions {
4 |
5 | public class CascadeAllDeleteOrphanAttribute : Attribute {
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Entities/GuidMap.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Lfz.Data.Nh.Entities
4 | {
5 | public abstract class GuidMap :
6 | EntityMap where T : EntityBase
7 | {
8 | }
9 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Config/IConfigInfo.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.AutoUpdater.Config
2 | {
3 | ///
4 | /// 配置信息基类
5 | ///
6 | internal interface IConfigInfo
7 | {
8 | }
9 |
10 | }
11 |
--------------------------------------------------------------------------------
/Lfz.Core/Caching/IAsyncTokenProvider.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace PMSoft.Caching {
4 | public interface IAsyncTokenProvider {
5 | IVolatileToken GetToken(Action> task);
6 | }
7 | }
--------------------------------------------------------------------------------
/Lfz.Core/Commands/ICommandResult.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Commands
2 | {
3 | ///
4 | /// CQRS模式中Command的返回结果
5 | ///
6 | public interface ICommandResult
7 | {
8 |
9 |
10 | }
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/Lfz.Core/Enums/Sex.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Enums
2 | {
3 | ///
4 | /// 性别
5 | ///
6 | public enum Sex
7 | {
8 | 男=0,
9 | 女=1,
10 |
11 | }
12 |
13 | #region 部门类别
14 |
15 | #endregion
16 | }
17 |
--------------------------------------------------------------------------------
/Lfz.Core/Enums/AsynchronousCallStatus.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Enums
2 | {
3 | ///
4 | ///
5 | ///
6 | public enum AsynchronousCallStatus
7 | {
8 | Default = 0,
9 |
10 | Success = 1,
11 |
12 | Error = -1
13 | }
14 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Providers/IDataServicesProviderFactory.cs:
--------------------------------------------------------------------------------
1 | using Lfz.Data.RawSql;
2 |
3 | namespace Lfz.Data.Nh.Providers {
4 | public interface IDataServicesProviderFactory : IDependency {
5 | IDataServicesProvider CreateProvider(IDbProviderConfig sessionFactoryParameters);
6 | }
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/Lfz.Core/Services/ServiceEventHandler.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.InteropServices;
3 |
4 | namespace Lfz.Services
5 | {
6 | ///
7 | ///
8 | ///
9 | [Serializable]
10 | [ComVisible(true)]
11 | public delegate void ServiceEventHandler();
12 | }
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Shared/Models/TopicName.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.MqListener.Shared.Models
2 | {
3 | ///
4 | ///
5 | ///
6 | public enum TopicName
7 | {
8 | ///
9 | ///
10 | ///
11 | PushMessage,
12 | }
13 | }
--------------------------------------------------------------------------------
/Lfz.MqListener.WindowService/Config/autoupdater.json:
--------------------------------------------------------------------------------
1 | {
2 | Version: "2.0.0.1",
3 | NewVersion: "2.0.0.2",
4 | AppType: 2,
5 | AppName: "拓创客户端程序",
6 | ExcuteFileName: "TCMqListener",
7 | IsWindowService: true,
8 | DownloadUrl: "",
9 | LastUpdateTime: "2012-01-01 12:06:01"
10 | }
--------------------------------------------------------------------------------
/Lfz.MqListener/Config/autoupdater.json:
--------------------------------------------------------------------------------
1 | {
2 | Version: "2.0.0.1",
3 | NewVersion: "2.0.0.2",
4 | AppType: 2,
5 | AppName: "拓创客户端程序",
6 | ExcuteFileName: "TCSoft.MqListener.exe",
7 | IsWindowService: false,
8 | DownloadUrl: "",
9 | LastUpdateTime: "2012-01-01 12:06:01"
10 | }
--------------------------------------------------------------------------------
/Lfz.Core/Enums/DelFlag.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Enums
2 | {
3 | public enum DelFlag
4 | {
5 | ///
6 | /// 正常
7 | ///
8 | Normal=0,
9 |
10 | ///
11 | /// 已经删除
12 | ///
13 | Deleted=1
14 |
15 | }
16 | }
--------------------------------------------------------------------------------
/Lfz.Core/Collections/IPageOfDatatable.cs:
--------------------------------------------------------------------------------
1 | using System.Data;
2 |
3 | namespace Lfz.Collections
4 | {
5 | ///
6 | ///
7 | ///
8 | public interface IPageOfDatatable : IPagerInfo
9 | {
10 | ///
11 | ///
12 | ///
13 | DataTable Data { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/ISessionLocator.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using NHibernate;
3 |
4 | namespace PMSoft.Data {
5 | ///
6 | ///
7 | ///
8 | public interface ISessionLocator :IDisposable
9 | {
10 | ///
11 | ///
12 | ///
13 | ISession For(Type entityType);
14 | }
15 | }
--------------------------------------------------------------------------------
/Lfz.Core/IO/FileSystemSettings.cs:
--------------------------------------------------------------------------------
1 |
2 | using Lfz.Config;
3 |
4 | namespace Lfz.IO
5 | {
6 | ///
7 | /// 文件信息配置信息
8 | ///
9 | public class FileSystemSettings : IConfigInfo
10 | {
11 | ///
12 | ///
13 | ///
14 | public string DirectoryName { get; set; }
15 | }
16 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/RawSql/DbProvider.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Data.RawSql
2 | {
3 | ///
4 | ///
5 | ///
6 | public enum DbProvider
7 | {
8 | ///
9 | ///
10 | ///
11 | MySql=0,
12 |
13 | ///
14 | ///
15 | ///
16 | SqlServer=1
17 | }
18 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Config/autoupdater.json:
--------------------------------------------------------------------------------
1 | {
2 | "Version": "2.0.0.1",
3 | "AppType": 2,
4 | "NewVersion": "2.0.0.4",
5 | "AppName": "拓创客户端程序",
6 | "ExcuteFileName": "TCSoft.MqListener.exe",
7 | "IsWindowService": false,
8 | "DownloadUrl": "http://img.ziyouchi.com/Uploads/20160129/9dfad9394de5488193d55d0411d0e2eb.zip",
9 | "LastUpdateTime": "2016-01-29 18:08:11"
10 | }
--------------------------------------------------------------------------------
/Lfz.Core/Enums/FuncListen.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Enums
2 | {
3 | ///
4 | ///
5 | ///
6 | public enum FuncListen
7 | {
8 | ///
9 | ///
10 | ///
11 | GetLoginUserId = 0,
12 |
13 | ///
14 | ///
15 | ///
16 | GetVisitPath = 1
17 | }
18 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/IO/FileSystemSettings.cs:
--------------------------------------------------------------------------------
1 |
2 | using Lfz.AutoUpdater.Config;
3 |
4 | namespace Lfz.AutoUpdater.IO
5 | {
6 | ///
7 | /// 文件信息配置信息
8 | ///
9 | internal class FileSystemSettings : IConfigInfo
10 | {
11 | ///
12 | ///
13 | ///
14 | public string DirectoryName { get; set; }
15 | }
16 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Providers/IDataServicesProvider.cs:
--------------------------------------------------------------------------------
1 | using FluentNHibernate.Cfg.Db;
2 | using Lfz.Data.RawSql;
3 |
4 | namespace Lfz.Data.Nh.Providers {
5 | public interface IDataServicesProvider {
6 |
7 | NHibernate.Cfg.Configuration BuildConfiguration(IDbProviderConfig config);
8 |
9 | IPersistenceConfigurer GetPersistenceConfigurer(bool createDatabase);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Conventions/StringLengthMaxAttribute.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel.DataAnnotations;
2 |
3 | namespace Lfz.Data.Nh.Conventions
4 | {
5 | public class StringLengthMaxAttribute : StringLengthAttribute {
6 | public StringLengthMaxAttribute() : base(10000) {
7 | // 10000 is an arbitrary number large enough to be in the nvarchar(max) range
8 | }
9 | }
10 | }
--------------------------------------------------------------------------------
/Lfz.Core/Config/Parameters.config:
--------------------------------------------------------------------------------
1 |
2 |
3 | 192.168.1.138
4 | 5009
5 | 192.168.1.138
6 | 5009
7 | 2
8 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Conventions/AggregateAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Lfz.Data.Nh.Conventions {
4 |
5 | ///
6 | /// This attribute is used to mark relationships which need to be eagerly fetched with the parent object,
7 | /// thus defining an aggregate in terms of DDD
8 | ///
9 | public class AggregateAttribute : Attribute {
10 | }
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/IDatabaseCacheConfiguration.cs:
--------------------------------------------------------------------------------
1 | using NHibernate.Cfg.Loquacious;
2 |
3 | namespace PMSoft.Data {
4 | ///
5 | ///
6 | ///
7 | public interface IDatabaseCacheConfiguration {
8 | ///
9 | ///
10 | ///
11 | ///
12 | void Configure(ICacheConfigurationProperties cache);
13 | }
14 | }
--------------------------------------------------------------------------------
/Lfz.Core/Config/IConfigInfo.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Config
2 | {
3 | ///
4 | /// 配置信息基类
5 | ///
6 | public interface IConfigInfo
7 | {
8 | }
9 |
10 | ///
11 | ///
12 | ///
13 | public interface ISysConfig
14 | {
15 | ///
16 | /// 缓存版本号
17 | ///
18 | int CacheVersion { get; }
19 |
20 | }
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/Lfz.Core/Network/CallBackState.cs:
--------------------------------------------------------------------------------
1 | using System.Net.Sockets;
2 |
3 | namespace Lfz.Network
4 | {
5 | internal class CallBackState
6 | {
7 | ///
8 | ///
9 | ///
10 | public TcpClient Client { get; set; }
11 | ///
12 | ///
13 | ///
14 | public NetworkStream NetworkStream { get; set; }
15 |
16 | public byte[] Data;
17 | }
18 | }
--------------------------------------------------------------------------------
/Lfz.Core/TcSoftVersion.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Lfz
3 | {
4 | ///
5 | ///
6 | ///
7 | public static class TcSoftVersion
8 | {
9 | ///
10 | /// Gets or sets the store version
11 | ///
12 | public static string CurrentVersion
13 | {
14 | get
15 | {
16 | return "3.0";
17 | }
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/MqVistor/SyncTable/ISyncTableComand.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Data;
4 | using Lfz.Data.RawSql;
5 |
6 | namespace Lfz.MqListener.MqVistor.SyncTable
7 | {
8 | public interface ISyncTableComand:IPerHttpRequestDependency
9 | {
10 | void InsertOrUpdate
11 | (string tablename, Guid storeId, IRawSqlSearchService service, DataTable table, List primaryKey);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lfz.Core/Enums/Hr/HrDepartmentType.cs:
--------------------------------------------------------------------------------
1 |
2 | namespace Lfz.Enums.Hr
3 | {
4 | ///
5 | /// 部门类别
6 | ///
7 | public enum HrDepartmentType
8 | {
9 | ///
10 | /// 分公司
11 | ///
12 | 分公司 = 1,
13 | ///
14 | /// 部门
15 | ///
16 | 部门 = 4,
17 | ///
18 | /// 组
19 | ///
20 | 组 = 5
21 | }
22 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/NhRepository.partial.cs:
--------------------------------------------------------------------------------
1 | using Lfz.Data.RawSql;
2 | using Lfz.Logging;
3 |
4 | namespace Lfz.Data.Nh
5 | {
6 | public partial class NhRepository : INhRepository where T : class
7 | {
8 | public NhRepository(IDbProviderConfig config)
9 | {
10 | _config = config;
11 | Logger = LoggerFactory.GetLog();
12 | _sessionFactory = null; //.Current.Resolve();
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/Lfz.Core/Config/EncryptContent.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Xml.Serialization;
3 |
4 | namespace Lfz.Config
5 | {
6 | ///
7 | /// 加密内容
8 | ///
9 | [Serializable]
10 | [XmlRoot("EncryptContent")]
11 | public class EncryptContent : IConfigInfo
12 | {
13 | ///
14 | /// 配置内容
15 | ///
16 | [XmlElement(ElementName = "Content")]
17 | public string Content { get; set; }
18 | }
19 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Conventions/CascadeAllDeleteOrphanConvention.cs:
--------------------------------------------------------------------------------
1 | using FluentNHibernate.Conventions.Instances;
2 |
3 | namespace Lfz.Data.Nh.Conventions
4 | {
5 | public class CascadeAllDeleteOrphanConvention :
6 | AttributeCollectionConvention {
7 |
8 | protected override void Apply(CascadeAllDeleteOrphanAttribute attribute, ICollectionInstance instance) {
9 | instance.Cascade.AllDeleteOrphan();
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/Providers/IDataServicesProviderFactory.cs:
--------------------------------------------------------------------------------
1 | namespace PMSoft.Data.Providers {
2 | ///
3 | ///
4 | ///
5 | public interface IDataServicesProviderFactory {
6 | ///
7 | ///
8 | ///
9 | ///
10 | ///
11 | IDataServicesProvider CreateProvider(DataServiceParameters sessionFactoryParameters);
12 | }
13 |
14 | }
15 |
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Shared/Models/QuqueName.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.MqListener.Shared.Models
2 | {
3 | ///
4 | ///
5 | ///
6 | public enum QuqueName
7 | {
8 | ///
9 | ///
10 | ///
11 | BusinessProcessing,
12 | ///
13 | ///
14 | ///
15 | StoreReportData,
16 | ///
17 | ///
18 | ///
19 | ClientHeart,
20 | }
21 | }
--------------------------------------------------------------------------------
/Lfz.Core/Config/IConfigFileManager.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Config
2 | {
3 | ///
4 | /// 配置文件管理接口定义
5 | ///
6 | public interface IConfigFileManager
7 | {
8 | ///
9 | /// 加载配置文件
10 | ///
11 | ///
12 | IConfigInfo LoadConfig();
13 |
14 |
15 | ///
16 | /// 保存配置文件
17 | ///
18 | ///
19 | bool SaveConfig();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Lfz.Core/Models/SearchHit.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Models
2 | {
3 | public class SearchHit : SearchHitBase
4 | {
5 | private string _searchKey;
6 | public string SearchKey
7 | {
8 | get
9 | {
10 | _searchKey = (_searchKey ?? string.Empty).Trim();
11 | if (_searchKey == "请输入关键字") _searchKey = string.Empty;
12 | return _searchKey;
13 | }
14 | set { _searchKey = value; }
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Conventions/StringLengthConvention.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel.DataAnnotations;
2 | using FluentNHibernate.Conventions;
3 | using FluentNHibernate.Conventions.Instances;
4 |
5 | namespace Lfz.Data.Nh.Conventions {
6 | public class StringLengthConvention : AttributePropertyConvention {
7 | protected override void Apply(StringLengthAttribute attribute, IPropertyInstance instance) {
8 | instance.Length(attribute.MaximumLength);
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Lfz.MqListener.WindowService/Program.cs:
--------------------------------------------------------------------------------
1 | using System.ServiceProcess;
2 |
3 | namespace Lfz.MqListener.WindowService
4 | {
5 | static class Program
6 | {
7 | ///
8 | /// 应用程序的主入口点。
9 | ///
10 | static void Main()
11 | {
12 | ServiceBase[] ServicesToRun;
13 | ServicesToRun = new ServiceBase[]
14 | {
15 | new TCMqListener()
16 | };
17 | ServiceBase.Run(ServicesToRun);
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Lfz.Core/Commands/CommandHandlerNotFoundException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Lfz.Commands
4 | {
5 | ///
6 | ///
7 | ///
8 | public class CommandHandlerNotFoundException : Exception
9 | {
10 | ///
11 | ///
12 | ///
13 | ///
14 | public CommandHandlerNotFoundException(Type type) : base(string.Format("Command handler not found for command type: {0}", type))
15 | {
16 | }
17 | }
18 | }
19 |
20 |
--------------------------------------------------------------------------------
/Lfz.MqListener.WindowService/ProjectInstaller.cs:
--------------------------------------------------------------------------------
1 | using System.ComponentModel;
2 | using System.Configuration.Install;
3 |
4 | namespace Lfz.MqListener.WindowService
5 | {
6 | [RunInstaller(true)]
7 | public partial class ProjectInstaller : System.Configuration.Install.Installer
8 | {
9 | public ProjectInstaller()
10 | {
11 | InitializeComponent();
12 | }
13 |
14 | private void TCMqListener_AfterInstall(object sender, InstallEventArgs e)
15 | {
16 |
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Providers/SessionFactoryParameters.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace PMSoft.Data.Providers {
4 | ///
5 | ///
6 | ///
7 | public class SessionFactoryParameters : DataServiceParameters {
8 | ///
9 | ///
10 | ///
11 | public IEnumerable RecordDescriptors { get; set; }
12 | ///
13 | ///
14 | ///
15 | public bool CreateDatabase { get; set; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Lib/Excel导出模板工具/XmlGenerator.vshost.exe.manifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lfz.Core/Caching/Weak.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace PMSoft.Caching {
4 | public class Weak {
5 | private readonly WeakReference _target;
6 |
7 | public Weak(T target) {
8 | _target = new WeakReference(target);
9 | }
10 |
11 | public Weak(T target, bool trackResurrection) {
12 | _target = new WeakReference(target, trackResurrection);
13 | }
14 |
15 | public T Target {
16 | get { return (T)_target.Target; }
17 | set { _target.Target = value; }
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/Lfz.Core/Commands/ValidationHandlerNotFoundException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Lfz.Commands
4 | {
5 | ///
6 | ///
7 | ///
8 | public class ValidationHandlerNotFoundException : Exception
9 | {
10 | ///
11 | ///
12 | ///
13 | ///
14 | public ValidationHandlerNotFoundException(Type type)
15 | : base(string.Format("Validation handler not found for command type: {0}", type))
16 | {
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lfz.Core/Commands/DefaultCommandResult.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Commands
2 | {
3 | ///
4 | ///
5 | ///
6 | public class DefaultCommandResult : ICommandResult
7 | {
8 | ///
9 | ///
10 | ///
11 | ///
12 | public DefaultCommandResult(bool success)
13 | {
14 | this.Success = success;
15 | }
16 |
17 | ///
18 | ///
19 | ///
20 | public bool Success { get; private set; }
21 | }
22 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/KeyValueEntity.cs:
--------------------------------------------------------------------------------
1 | using System.Runtime.Serialization;
2 |
3 | namespace Lfz.Data
4 | {
5 | ///
6 | /// 键值数据实体
7 | ///
8 | [DataContract]
9 | public abstract class KeyValueEntity : EntityBase
10 | {
11 | ///
12 | /// 参数键
13 | ///
14 | [DataMember]
15 | public virtual string Key { get; set; }
16 |
17 | ///
18 | /// 参数键值
19 | ///
20 | [DataMember]
21 | public virtual string Value { get; set; }
22 | }
23 | }
--------------------------------------------------------------------------------
/Lfz.Core/Commands/IValidationHandler.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Lfz.Validation;
3 |
4 | namespace Lfz.Commands
5 | {
6 | ///
7 | ///
8 | ///
9 | ///
10 | public interface IValidationHandler
11 | {
12 | ///
13 | /// 命令验证
14 | ///
15 | ///
16 | ///
17 | IEnumerable Validate(TCommand command);
18 | }
19 |
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Infrastructure/BaseDataProviderManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using PMSoft.Config;
3 |
4 | namespace PMSoft.Data.Infrastructure
5 | {
6 | public abstract class BaseDataProviderManager
7 | {
8 | protected BaseDataProviderManager(DataSettings settings)
9 | {
10 | if (settings == null)
11 | throw new ArgumentNullException("settings");
12 | this.Settings = settings;
13 | }
14 | protected DataSettings Settings { get; private set; }
15 | public abstract IDataProvider LoadDataProvider();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Lfz.Core/Redis/IRedisConfigService.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace Lfz.Redis
4 | {
5 | ///
6 | ///
7 | ///
8 | public interface IRedisConfigService : ISingletonDependency
9 | {
10 | ///
11 | ///
12 | ///
13 | ///
14 | ///
15 | RedisConfig Get(string key);
16 |
17 | ///
18 | ///
19 | ///
20 | ///
21 | IEnumerable GetAll();
22 |
23 | }
24 | }
--------------------------------------------------------------------------------
/Lfz.Core/Enums/Hr/RightValue.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Lfz.Enums.Hr
4 | {
5 | ///
6 | /// Ȩ��ֵ
7 | ///
8 | [Flags]
9 | public enum RightValue
10 | {
11 | None = 0,
12 | V1 = 1,
13 | V2 = 2,
14 | V4 = 4,
15 | V8 = 8,
16 | V16 = 16,
17 | V32 = 32,
18 | V64 = 64,
19 | V128 = 128,
20 | V256 = 256,
21 | V512 = 512,
22 | V1024 = 1024,
23 | V2048 = 2048,
24 | V4096 = 4096,
25 | V8192 = 8192,
26 | V16384 = 16384,
27 | V32768 = 32768
28 | }
29 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 高性能消息监控无服务器,使用ActiveMQ消息中间件实现,包括windows服务、控制台启动等多种启动方式
2 |
3 | ### 实现功能
4 |
5 | 1、消息订阅与发布
6 | 2、消息集群管理
7 | 3、Redis缓存管理
8 | 4、自动更新实现
9 | 5、在线客户端登记、查看
10 |
11 |
12 | ### 使用技术
13 |
14 | 1、activemq (Apache.NMS.ActiveMQ 1.7)
15 | 2、redis (ServiceStack.Redis 3.9)
16 | 3、Nlog 3.1
17 | 4、SharpCompress 1.2
18 | 5、Json.NET 6.0
19 | 6、NHibernate 4.0
20 |
21 |
22 | 使用Vistor模式处理客户端与服务器业务处理,消息以封装未不同的命令
23 |
24 |
25 | [github地址:https://github.com/lfz233002072/activemq](https://github.com/lfz233002072/activemq)
26 |
27 | [oschina地址:https://git.oschina.net/lfz/activemq](https://git.oschina.net/lfz/activemq)
--------------------------------------------------------------------------------
/Lfz.Core/Data/RawSql/DbProviderConfig.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace Lfz.Data.RawSql
4 | {
5 | ///
6 | ///
7 | ///
8 | public class DbProviderConfig : IDbProviderConfig
9 | {
10 | ///
11 | ///
12 | ///
13 | public virtual DbProvider DbProvider { get; set; }
14 |
15 | public Guid CustomerId { get; set; }
16 |
17 | public string DataFolder { get; set; }
18 | ///
19 | /// 数据库连接字符串
20 | ///
21 | public virtual string DbConnectionString { get; set; }
22 |
23 | }
24 | }
--------------------------------------------------------------------------------
/Lfz.Core/Rest/RestContentBaseExtenstion.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 |
3 | namespace Lfz.Rest
4 | {
5 | ///
6 | ///
7 | ///
8 | public static class JsonContentExtenstion
9 | {
10 | ///
11 | ///
12 | ///
13 | ///
14 | ///
15 | ///
16 | public static string ToJsonString(this IJsonContent content, params JsonConverter[] converters)
17 | {
18 | return JsonUtils.SerializeObject(content, converters);
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Rest/RestContentBaseExtenstion.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 |
3 | namespace Lfz.AutoUpdater.Rest
4 | {
5 | ///
6 | ///
7 | ///
8 | internal static class JsonContentExtenstion
9 | {
10 | ///
11 | ///
12 | ///
13 | ///
14 | ///
15 | ///
16 | public static string ToJsonString(this IJsonContent content, params JsonConverter[] converters)
17 | {
18 | return JsonUtils.SerializeObject(content, converters);
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/Lfz.Core/Network/TcpClientAsyncService.cs:
--------------------------------------------------------------------------------
1 | // /*======================================================================
2 | // *
3 | // * Copyright (C) 1996-2012 lfz
4 | // * All rights reserved
5 | // *
6 | // * Filename :TcpClientAsyncService.cs
7 | // * DESCRIPTION :
8 | // *
9 | // * Created By 林芳崽 at 2015-05-30 11:39
10 | // * https://git.oschina.net/lfz
11 | // *
12 | // *======================================================================*/
13 | namespace Lfz.Network
14 | {
15 | ///
16 | ///
17 | ///
18 | public class TcpClientAsyncService
19 | {
20 |
21 | }
22 | }
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Shared/Enums/CacheVersionType.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.MqListener.Shared.Enums
2 | {
3 | ///
4 | ///
5 | ///
6 | public enum CacheVersionType
7 | {
8 | ///
9 | /// 默认缓存版本(全局范围内只有一条记录)
10 | ///
11 | Default=0,
12 |
13 | ///
14 | /// 商家相关缓存版本(每个商家一条记录)
15 | ///
16 | Customer = 1,
17 |
18 | ///
19 | /// 门店相关缓存版本(每个门店一条记录)
20 | ///
21 | StoreInfo = 2,
22 |
23 | ///
24 | /// 用户相关缓存版本(每个用户一条记录)
25 | ///
26 | User=3
27 | }
28 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Infrastructure/IEfDataProvider.cs:
--------------------------------------------------------------------------------
1 | using System.Data.Entity.Infrastructure;
2 |
3 | namespace PMSoft.Data.Infrastructure
4 | {
5 | public interface IEfDataProvider: IDataProvider
6 | {
7 | ///
8 | /// Get connection factory
9 | ///
10 | /// Connection factory
11 | IDbConnectionFactory GetConnectionFactory();
12 |
13 | ///
14 | /// Initialize connection factory
15 | ///
16 | void InitConnectionFactory();
17 |
18 | ///
19 | /// Set database initializer
20 | ///
21 | void SetDatabaseInitializer();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Lfz.Core/Services/IInstallService.cs:
--------------------------------------------------------------------------------
1 |
2 | /*======================================================================
3 | *
4 | * Copyright (C) 1996-2012 杭州品茗信息有限公司
5 | * All rights reserved
6 | *
7 | * Filename :InstallService.cs
8 | * DESCRIPTION :
9 | *
10 | * Created By 林芳崽 at 2013-05-08 14:41
11 | * http://www.pinming.cn/
12 | *
13 | *======================================================================*/
14 | using System;
15 | using System.Collections.Generic;
16 | using System.Linq;
17 | using System.Text;
18 |
19 | namespace PMSoft.Services
20 | {
21 | public interface IInstallService
22 | {
23 | //安装数据库
24 | bool Install();
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Providers/DataServiceParameters.cs:
--------------------------------------------------------------------------------
1 | namespace PMSoft.Data.Providers {
2 | ///
3 | /// 数据服务参数
4 | ///
5 | public class DataServiceParameters {
6 | ///
7 | /// 数据库提供者(Sqlserver、MYsql、Sqlce等)
8 | ///
9 | public string Provider { get; set; }
10 | ///
11 | /// 数据文件夹
12 | ///
13 | public string DataFolder { get; set; }
14 | ///
15 | /// 数据表前缀
16 | ///
17 | public string TablePrefix { get; set; }
18 | ///
19 | /// 连接字符串
20 | ///
21 | public string ConnectionString { get; set; }
22 | }
23 | }
--------------------------------------------------------------------------------
/Lfz.Core/Enums/TreeLevel.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.Enums
2 | {
3 | ///
4 | /// 树的层级(从1开始计算)
5 | ///
6 | public enum TreeLevel
7 | {
8 | ///
9 | ///
10 | ///
11 | One = 1,
12 | ///
13 | ///
14 | ///
15 | Two = 2,
16 | ///
17 | ///
18 | ///
19 | Three = 3,
20 | ///
21 | ///
22 | ///
23 | Four = 4,
24 | ///
25 | ///
26 | ///
27 | Five = 5,
28 |
29 | ///
30 | /// 默认层级为一级
31 | ///
32 | Default = One
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/INhTypeProvider.cs:
--------------------------------------------------------------------------------
1 | // /*======================================================================
2 | // *
3 | // * Copyright (C) 1996-2012 lfz
4 | // * All rights reserved
5 | // *
6 | // * Filename :INhTypeProvider.cs
7 | // * DESCRIPTION :
8 | // *
9 | // * Created By 林芳崽 at 2016-01-14 10:12
10 | // * https://git.oschina.net/lfz
11 | // *
12 | // *======================================================================*/
13 |
14 | using System;
15 | using System.Collections.Generic;
16 |
17 | namespace Lfz.Data.Nh
18 | {
19 | ///
20 | ///
21 | ///
22 | public interface INhTypeProvider:ISingletonDependency
23 | {
24 | IEnumerable GetTypes();
25 | }
26 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/Providers/IDataServicesProvider.cs:
--------------------------------------------------------------------------------
1 | using FluentNHibernate.Cfg.Db;
2 | using NHibernate.Cfg;
3 |
4 | namespace PMSoft.Data.Providers {
5 | ///
6 | ///
7 | ///
8 | public interface IDataServicesProvider {
9 | ///
10 | ///
11 | ///
12 | ///
13 | ///
14 | Configuration BuildConfiguration(SessionFactoryParameters sessionFactoryParameters);
15 | ///
16 | ///
17 | ///
18 | ///
19 | ///
20 | IPersistenceConfigurer GetPersistenceConfigurer(bool createDatabase);
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Nh/Conventions/CacheConvention.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using FluentNHibernate.Conventions;
4 | using FluentNHibernate.Conventions.AcceptanceCriteria;
5 | using FluentNHibernate.Conventions.Inspections;
6 | using FluentNHibernate.Conventions.Instances;
7 |
8 | namespace Lfz.Data.Nh.Conventions {
9 | public class CacheConvention : IClassConvention, IConventionAcceptance {
10 |
11 | public CacheConvention(IEnumerable types)
12 | {
13 |
14 | }
15 |
16 | public void Apply(IClassInstance instance) {
17 | instance.Cache.ReadWrite();
18 | }
19 |
20 | public void Accept(IAcceptanceCriteria criteria) {
21 | }
22 | }
23 | }
--------------------------------------------------------------------------------
/Lfz.MqListener.WindowService/Service1.cs:
--------------------------------------------------------------------------------
1 | using System.ServiceProcess;
2 | using Lfz.AutoUpdater;
3 | using Lfz.MqListener.CacheShared;
4 | using Lfz.Redis;
5 |
6 | namespace Lfz.MqListener.WindowService
7 | {
8 | public partial class TCMqListener : ServiceBase
9 | {
10 | public TCMqListener()
11 | {
12 | InitializeComponent();
13 | }
14 |
15 | protected override void OnStart(string[] args)
16 | {
17 | CommonUnitity.Init(true,this.ServiceName);
18 | RedisBase.Initialize(new RedisConfigService());
19 | TCSoftServiceBus.Current.Start();
20 | }
21 |
22 | protected override void OnStop()
23 | {
24 | TCSoftServiceBus.Current.Stop();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Lfz.Core/Utitlies/Utils.Regex.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text.RegularExpressions;
3 |
4 | namespace Lfz.Utitlies
5 | {
6 | public partial class Utils
7 | {
8 | ///
9 | /// 使用正则查找,并安装replaceAction委托执行替换。
10 | ///
11 | /// 正则表达式
12 | /// 输入文本
13 | /// 替换行为委托。包括一个参数:匹配结果对象
14 | ///
15 | public static void ReplaceByRegexAction(string pattern, string inputText, Action replaceAction)
16 | {
17 | MatchCollection mcList = new Regex(pattern).Matches(inputText);
18 | foreach (Match ma in mcList) if (replaceAction != null) replaceAction.Invoke(ma);
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Utitlies/Utils.Regex.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text.RegularExpressions;
3 |
4 | namespace Lfz.AutoUpdater.Utitlies
5 | {
6 | internal partial class Utils
7 | {
8 | ///
9 | /// 使用正则查找,并安装replaceAction委托执行替换。
10 | ///
11 | /// 正则表达式
12 | /// 输入文本
13 | /// 替换行为委托。包括一个参数:匹配结果对象
14 | ///
15 | public static void ReplaceByRegexAction(string pattern, string inputText, Action replaceAction)
16 | {
17 | MatchCollection mcList = new Regex(pattern).Matches(inputText);
18 | foreach (Match ma in mcList) if (replaceAction != null) replaceAction.Invoke(ma);
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/Lfz.MqListener.Service/Config/AppSettingsHelperExtension.cs:
--------------------------------------------------------------------------------
1 | // /*======================================================================
2 | // *
3 | // * Copyright (C) 1996-2012 lfz
4 | // * All rights reserved
5 | // *
6 | // * Filename :AppSettingsHelperExtension.cs
7 | // * DESCRIPTION :
8 | // *
9 | // * Created By 林芳崽 at 2016-01-27 13:25
10 | // * https://git.oschina.net/lfz
11 | // *
12 | // *======================================================================*/
13 |
14 | using Lfz.Config;
15 |
16 | namespace Lfz.MqListener.Config
17 | {
18 | public static class AppSettingsHelperExtension
19 | {
20 | public static string GetDomainAddress(this AppSettingsHelper helper)
21 | {
22 | return string.Empty;
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/Lfz.AutoUpdater/Logging/LogLevel.cs:
--------------------------------------------------------------------------------
1 | namespace Lfz.AutoUpdater.Logging
2 | {
3 | ///
4 | /// 日志等级 Fatal > Error > Warning> Information > Debug > Trace
5 | ///
6 | internal enum LogLevel
7 | {
8 | ///
9 | /// 跟踪信息
10 | ///
11 | Trace,
12 |
13 | ///
14 | /// 调试
15 | ///
16 | Debug,
17 | ///
18 | /// 信息
19 | ///
20 | Information,
21 | ///
22 | /// 警报
23 | ///
24 | Warning,
25 | ///
26 | /// 错误
27 | ///
28 | Error,
29 | ///
30 | /// 致命错误
31 | ///
32 | Fatal,
33 | }
34 | }
--------------------------------------------------------------------------------
/Lfz.Core/Data/Infrastructure/IDataProvider.cs:
--------------------------------------------------------------------------------
1 |
2 | using System.Data.Common;
3 |
4 | namespace PMSoft.Data.Infrastructure
5 | {
6 | ///
7 | /// Data provider interface
8 | ///
9 | public interface IDataProvider
10 | {
11 | ///
12 | /// Initialize database
13 | ///
14 | void InitDatabase();
15 |
16 | ///
17 | /// A value indicating whether this data provider supports stored procedures
18 | ///
19 | bool StoredProceduredSupported { get; }
20 |
21 | ///
22 | /// Gets a support database parameter object (used by stored procedures)
23 | ///
24 | /// Parameter
25 | DbParameter GetParameter();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/Conventions/CascadeAllDeleteOrphanAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using FluentNHibernate.Conventions.Instances;
3 |
4 | namespace PMSoft.Data.Conventions {
5 |
6 | ///
7 | ///
8 | ///
9 | public class CascadeAllDeleteOrphanAttribute : Attribute {
10 | }
11 |
12 | ///
13 | ///
14 | ///
15 | public class CascadeAllDeleteOrphanConvention :
16 | AttributeCollectionConvention {
17 | ///
18 | ///
19 | ///
20 | ///
21 | ///
22 | protected override void Apply(CascadeAllDeleteOrphanAttribute attribute, ICollectionInstance instance) {
23 | instance.Cascade.AllDeleteOrphan();
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Lfz.Core/Data/DescriptionAttribute.cs:
--------------------------------------------------------------------------------
1 | /*======================================================================
2 | *
3 | * Copyright (C) 1996-2012 杭州品茗信息有限公司
4 | * All rights reserved
5 | *
6 | * Filename :DescriptionAttribute.cs
7 | * DESCRIPTION :
8 | *
9 | * Created By 林芳崽 at 2013-05-16 14:11
10 | * http://www.pinming.cn/
11 | *
12 | *======================================================================*/
13 |
14 | using System;
15 |
16 | namespace PMSoft.Data
17 | {
18 | [AttributeUsage(AttributeTargets.All, Inherited = true, AllowMultiple = false)]
19 | public class DescriptionAttribute : Attribute
20 | {
21 | public DescriptionAttribute(string description)
22 | {
23 | Description = description;
24 | }
25 | public string Description { get; set; }
26 | }
27 |
28 |
29 | }
--------------------------------------------------------------------------------
/Lfz.Core/Commands/ICommandBus.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using Lfz.Validation;
3 |
4 | namespace Lfz.Commands
5 | {
6 | ///
7 | /// 工作单元唯一的
8 | ///
9 | public interface ICommandBus where TResult : ICommandResult
10 | {
11 | ///
12 | /// 命令提交
13 | ///
14 | ///
15 | ///
16 | ///
17 | TResult Submit(TCommand command) ;
18 |
19 | ///
20 | /// 命令验证
21 | ///
22 | ///
23 | ///
24 | ///
25 | IEnumerable Validate(TCommand command) ;
26 |
27 | }
28 | }
29 |
30 |
--------------------------------------------------------------------------------
/Lfz.Core/Collections/IPageOfItems.cs:
--------------------------------------------------------------------------------
1 | //======================================================================
2 | //
3 | // Copyright (C) 1996-2012 lfz
4 | // All rights reserved
5 | //
6 | // Filename : CacheHelper
7 | // DESCRIPTION : 缓存辅助类
8 | //
9 | // Created By 林芳崽 at 2013-01-08 09:11:01
10 | // https://git.oschina.net/lfz
11 | //
12 | //======================================================================
13 |
14 | using System.Collections.Generic;
15 |
16 | namespace Lfz.Collections
17 | {
18 | ///
19 | /// 分页数据列表
20 | ///
21 | ///
22 | public interface IPageOfItems : IList, IPagerInfo
23 | {
24 | ///
25 | /// 查询页面状态数据
26 | /// TODO 需要从但前页面移除
27 | ///
28 | string SearchHitViewState { get; set; }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Lfz.Core/Collections/PageOfItemsExtension.cs:
--------------------------------------------------------------------------------
1 | using System.Linq;
2 |
3 | namespace Lfz.Collections
4 | {
5 | public static class PageOfItemsExtension
6 | {
7 | ///
8 | ///
9 | ///
10 | ///
11 | ///
12 | ///
13 | public static IPageOfItems