├── QQ截图20181116162239.png ├── PlatformUpdater ├── LOGO.ico ├── MaintenancePlatform │ └── 原始空数据库ZNCPlatform.db ├── Properties │ ├── Settings.settings │ ├── AssemblyInfo.cs │ └── Settings.Designer.cs ├── ListView.cs └── Program.cs ├── ZNC.Component ├── DLL │ ├── IOTAPI.dll │ ├── SMSDLL.dll │ ├── amqmdnet.dll │ ├── GifImageLib.dll │ ├── MySql.Data.dll │ ├── WComm_UDP.dll │ ├── WPFSamplesLib.dll │ ├── WPF_Media_Player.dll │ ├── Interop.SpeechLib.dll │ ├── CustomControlLibrary.dll │ ├── Telerik.Windows.Data.dll │ ├── DevComponents.WpfRibbon.dll │ ├── Telerik.Windows.Controls.dll │ ├── Microsoft.Expression.Drawing.dll │ ├── Telerik.Windows.Controls.Data.dll │ ├── Telerik.Windows.Controls.Input.dll │ ├── Telerik.Windows.Controls.Charting.dll │ ├── Telerik.Windows.Controls.Docking.dll │ ├── Telerik.Windows.Controls.GridView.dll │ ├── Telerik.Windows.Controls.Navigation.dll │ ├── Telerik.Windows.Controls.RibbonBar.dll │ └── Telerik.Windows.Controls.DataVisualization.dll ├── Images │ ├── pagination_last.gif │ ├── pagination_load.png │ ├── pagination_next.gif │ ├── pagination_prev.gif │ ├── pagination_first.gif │ ├── pagination_loading.gif │ ├── pagination_last_gray.gif │ ├── pagination_next_gray.gif │ ├── pagination_prev_gray.gif │ └── pagination_first_gray.gif ├── ImageButton2 │ ├── icons │ │ ├── CHAT.png │ │ ├── HELP.png │ │ ├── HOME.png │ │ ├── IMAC_NEW.png │ │ ├── Personal.png │ │ ├── DASHBOARD.png │ │ ├── HOME_PHONE.png │ │ └── HOURGLASS.png │ └── DynamicImageButton.cs ├── DynamicImageButton │ ├── icons │ │ ├── CHAT.png │ │ ├── HELP.png │ │ ├── HOME.png │ │ ├── DASHBOARD.png │ │ ├── HOME_PHONE.png │ │ ├── HOURGLASS.png │ │ ├── IMAC_NEW.png │ │ └── Personal.png │ └── DynamicButton.cs ├── UploadComponent.cs ├── Controls │ ├── UserControl1.xaml │ ├── AutoCompleteTextBox.xaml │ ├── AlarmControl.xaml.cs │ ├── AutoComplete.xaml │ └── AutoCompleteEntry.cs ├── ImageButton.xaml ├── VisibilityConverter.cs └── Properties │ └── AssemblyInfo.cs ├── ZNC.DataAccess ├── DLL │ ├── NPOI.dll │ ├── log4net.dll │ ├── MySql.Data.dll │ ├── NPOI.OOXML.dll │ ├── mysql.web.dll │ ├── Newtonsoft.Json.dll │ ├── SQLite.Designer.dll │ ├── SQLite.Interop.dll │ ├── NPOI.OpenXml4Net.dll │ ├── Oracle.DataAccess.dll │ ├── mysql.data.entity.dll │ ├── NPOI.OpenXmlFormats.dll │ ├── System.Data.SQLite.DLL │ ├── System.Data.SQLite.zip │ ├── mysql.visualstudio.dll │ ├── System.Data.SQLite.EF6.dll │ ├── Microsoft.Practices.Unity.dll │ ├── Oracle.ManagedDataAccess.dll │ ├── System.Data.SQLite.Linq.dll │ ├── Microsoft.Exchange.WebServices.dll │ ├── Microsoft.Practices.ServiceLocation.dll │ ├── Microsoft.Practices.Unity.Configuration.dll │ ├── Microsoft.Practices.Unity.Interception.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Data.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Caching.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Common.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Logging.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Security.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Data.SqlCe.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Validation.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Security.AzMan.dll │ ├── Microsoft.Practices.Unity.Interception.Configuration.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Caching.Database.dll │ ├── Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll │ ├── Microsoft.Practices.EnterpriseLibrary.PolicyInjection.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography.dll │ ├── Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll │ ├── Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Security.Cache.CachingStore.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapter.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WinForms.dll │ ├── Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapterV5.dll │ └── Microsoft.Practices.EnterpriseLibrary.Configuration.EnvironmentalOverrides.dll ├── DA │ ├── Users │ │ ├── RoleDAL.cs │ │ ├── UserDAL.cs │ │ ├── DepartmentDAL.cs │ │ └── JurisdictionDAL.cs │ ├── Systems │ │ ├── PushRuleDAL.cs │ │ ├── SystemLogDAL.cs │ │ ├── AlarmHistoryDAL.cs │ │ ├── SystemModuleDAL.cs │ │ ├── DictionaryDAL.cs │ │ ├── SystemServiceDAL.cs │ │ ├── SystemSettingDAL.cs │ │ └── UploadSettingDAL.cs │ ├── Equipment │ │ ├── EquipmentLogDAL.cs │ │ ├── EquipmentCardDAL.cs │ │ ├── EquipmentDAL.cs │ │ ├── EquipmentHealthDAL.cs │ │ ├── EquipmentLedgerDAL.cs │ │ ├── ErrorDictionaryDAL.cs │ │ ├── EquipmentMaterialDAL.cs │ │ ├── EquipmentAlarmRecordDAL.cs │ │ └── EquipmentRepairRecordDAL.cs │ └── Acquisition │ │ └── AcquisitionSettingDAL.cs ├── Properties │ └── AssemblyInfo.cs └── App.config ├── ZNC.DataEntiry ├── AlarmHistory.cs ├── Properties │ └── AssemblyInfo.cs ├── Jurisdiction.cs ├── AcquisitionBaseData.cs ├── SystemSetting.cs ├── EquipmentHealth.cs ├── UploadSetting.cs └── PushRule.cs ├── MaintenancePlatform ├── image │ ├── add.png │ ├── bg.png │ ├── end.gif │ ├── end.png │ ├── key.png │ ├── red.png │ ├── set.png │ ├── Asset.png │ ├── alarm.gif │ ├── alarm.png │ ├── check.png │ ├── close.png │ ├── dict.png │ ├── green.png │ ├── keshi.png │ ├── local.png │ ├── logo.png │ ├── menu1.png │ ├── redf.gif │ ├── save.png │ ├── start.gif │ ├── start.png │ ├── user.png │ ├── video.png │ ├── Caution.png │ ├── Header.png │ ├── Header1.jpg │ ├── MainPage.png │ ├── Personal.png │ ├── alarm_bg.png │ ├── change.png │ ├── delete.png │ ├── greenf.gif │ ├── login-bg.png │ ├── main-1.jpg │ ├── main_06.png │ ├── modify.png │ ├── module.png │ ├── monitor.png │ ├── search.png │ ├── update.png │ ├── yellow.png │ ├── yellowf.gif │ ├── MainPage_pure.png │ ├── main-0002_04.png │ ├── main-0002_13.png │ ├── main-0003_05.png │ ├── main-0003_40.png │ ├── main-0003_49.png │ ├── main-BG-Down.png │ └── main-0003_37-45.png ├── ZNCPlatform.db ├── Properties │ ├── Settings.settings │ ├── Settings.Designer.cs │ └── AssemblyInfo.cs ├── Print │ ├── PrintWindow.xaml │ └── PrintWindow.xaml.cs ├── ComfigMain.xaml ├── Views │ ├── Systems │ │ ├── SystemSettingView.xaml.cs │ │ ├── DictionaryEditView.xaml.cs │ │ ├── PushRuleView.xaml.cs │ │ ├── SystemLogView.xaml.cs │ │ ├── AlarmHistoryView.xaml.cs │ │ ├── SystemModuleView.xaml.cs │ │ ├── SystemServiceView.xaml.cs │ │ ├── UploadSettingView.xaml.cs │ │ ├── SystemModuleEditView.xaml.cs │ │ ├── PushRuleEditView.xaml.cs │ │ ├── SystemServiceEditView.xaml.cs │ │ └── UploadSettingEditView.xaml.cs │ ├── Equipment │ │ ├── EquipmentHealthView.xaml.cs │ │ ├── EquipmentLedgerView.xaml.cs │ │ ├── EquipmentMaterialView.xaml.cs │ │ ├── EquipmentView.xaml.cs │ │ ├── EquipmentLogView.xaml.cs │ │ ├── EquipmentCardView.xaml.cs │ │ ├── ErrorDictionaryView.xaml.cs │ │ ├── EquipmentAlarmRecordView.xaml.cs │ │ ├── EquipmentRepairRecordView.xaml.cs │ │ ├── EquipmentEditView.xaml.cs │ │ ├── ErrorDictionaryEditView.xaml.cs │ │ ├── EquipmentCardEditView.xaml.cs │ │ └── EquipmentRepairRecordEditView.xaml.cs │ ├── Users │ │ ├── RoleView.xaml.cs │ │ ├── UserView.xaml.cs │ │ ├── DepartmentView.xaml.cs │ │ ├── JurisdictionView.xaml.cs │ │ ├── RoleEditView.xaml.cs │ │ ├── DepartmentEditView.xaml.cs │ │ ├── JurisdictionEditView.xaml.cs │ │ └── UserEditView.xaml.cs │ └── Acquisition │ │ ├── AcquisitionSettingView.xaml.cs │ │ ├── AcquisitionBaseDataView.xaml.cs │ │ └── AcquisitionSettingEditView.xaml.cs ├── ViewModels │ └── PublicConverts.cs ├── MainPageView.xaml.cs └── ComfigMain.xaml.cs ├── ZNC.DataAcquisition ├── DLL │ ├── DMT.dll │ ├── FinsTcp.dll │ ├── OLEPCS.DLL │ ├── ComFxPlc.dll │ ├── ComQsPlc.dll │ ├── EasyOPC_DA.dll │ ├── EntFxPlc.dll │ ├── EntQsPlc.dll │ ├── HostLink.dll │ ├── MSCOMM32.OCX │ ├── MSWINSCK.OCX │ ├── ModbusRTU.dll │ ├── ModbusTCP.dll │ ├── NModbus4.dll │ ├── OpcClient.dll │ ├── OpcRcw.Da.dll │ ├── TransFins.dll │ ├── TransFxPlc.dll │ ├── TransQsPlc.dll │ ├── TransS7PPI.dll │ ├── WinTcpS7.dll │ ├── msvbvm60.dll │ ├── opc_aeps.dll │ ├── opcbc_ps.dll │ ├── opccomn_ps.dll │ ├── opcdaauto.dll │ ├── opchda_ps.dll │ ├── opcproxy.dll │ ├── opcsec_ps.dll │ ├── EntQsPlc_Asc.dll │ ├── ModRtuTrans.dll │ ├── OPCdotNETLib.dll │ ├── OpcServices.dll │ ├── TransModRTU.dll │ ├── WinTcpS7_1K.dll │ ├── WinTcpS7_CP2.dll │ ├── WinTcpS7_Smart.dll │ ├── ABB.PCSdk.Install.dll │ ├── Interop.OPCAutomation.dll │ ├── ABB.Robotics.RobotStudio.dll │ ├── ABB.Robotics.Adapters.IRC5.dll │ ├── ABB.Robotics.Controllers.PC.dll │ ├── RobotStudio.Services.RobApi.dll │ ├── RobotStudio.Services.RobApi.Desktop.dll │ └── FinsTcp.xml ├── AGV │ └── AGVController.cs ├── CNC │ └── CNCController.cs ├── DCS │ └── DCSController.cs ├── PLC │ └── PLCController.cs ├── Robot │ └── RobotController.cs ├── SCADA │ └── SCADAController.cs ├── OPC │ └── OPCController.cs ├── Modbus │ └── ModbusController.cs └── Properties │ └── AssemblyInfo.cs ├── ZNC.DataAnalysis ├── RealTimeAnalyzer.cs ├── App.config ├── Properties │ └── AssemblyInfo.cs └── BIZ │ ├── Users │ ├── RoleBIZ.cs │ ├── UserBIZ.cs │ ├── DepartmentBIZ.cs │ └── JurisdictionBIZ.cs │ ├── Systems │ ├── PushRuleBIZ.cs │ ├── SystemLogBIZ.cs │ ├── AlarmHistoryBIZ.cs │ ├── DictionaryBIZ.cs │ ├── SystemModuleBIZ.cs │ ├── SystemServiceBIZ.cs │ ├── SystemSettingBIZ.cs │ └── UploadSettingBIZ.cs │ ├── Equipment │ ├── EquipmentLogBIZ.cs │ ├── EquipmentCardBIZ.cs │ ├── EquipmentBIZ.cs │ ├── EquipmentHealthBIZ.cs │ ├── EquipmentLedgerBIZ.cs │ ├── ErrorDictionaryBIZ.cs │ └── EquipmentMaterialBIZ.cs │ └── Acquisition │ ├── AcquisitionSettingBIZ.cs │ └── AcquisitionBaseDataBIZ.cs ├── README.md └── ZNC.Utility ├── Command ├── CommandEventArgs.cs └── CommandGroup.cs ├── GroupNameAttribute.cs └── Properties └── AssemblyInfo.cs /QQ截图20181116162239.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/QQ截图20181116162239.png -------------------------------------------------------------------------------- /PlatformUpdater/LOGO.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/PlatformUpdater/LOGO.ico -------------------------------------------------------------------------------- /ZNC.Component/DLL/IOTAPI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/IOTAPI.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/SMSDLL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/SMSDLL.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/NPOI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/NPOI.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/amqmdnet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/amqmdnet.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/log4net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/log4net.dll -------------------------------------------------------------------------------- /ZNC.DataEntiry/AlarmHistory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataEntiry/AlarmHistory.cs -------------------------------------------------------------------------------- /MaintenancePlatform/image/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/add.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/bg.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/end.gif -------------------------------------------------------------------------------- /MaintenancePlatform/image/end.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/end.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/key.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/red.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/red.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/set.png -------------------------------------------------------------------------------- /ZNC.Component/DLL/GifImageLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/GifImageLib.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/MySql.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/MySql.Data.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/WComm_UDP.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/WComm_UDP.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/MySql.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/MySql.Data.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/NPOI.OOXML.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/NPOI.OOXML.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/mysql.web.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/mysql.web.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/DMT.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/DMT.dll -------------------------------------------------------------------------------- /MaintenancePlatform/ZNCPlatform.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/ZNCPlatform.db -------------------------------------------------------------------------------- /MaintenancePlatform/image/Asset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/Asset.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/alarm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/alarm.gif -------------------------------------------------------------------------------- /MaintenancePlatform/image/alarm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/alarm.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/check.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/close.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/dict.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/dict.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/green.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/keshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/keshi.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/local.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/local.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/logo.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/menu1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/menu1.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/redf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/redf.gif -------------------------------------------------------------------------------- /MaintenancePlatform/image/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/save.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/start.gif -------------------------------------------------------------------------------- /MaintenancePlatform/image/start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/start.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/user.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/video.png -------------------------------------------------------------------------------- /ZNC.Component/DLL/WPFSamplesLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/WPFSamplesLib.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/AGV/AGVController.cs: -------------------------------------------------------------------------------- 1 | namespace ZNC.DataAcquisition.AGV 2 | { 3 | class AgvController 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/CNC/CNCController.cs: -------------------------------------------------------------------------------- 1 | namespace ZNC.DataAcquisition.CNC 2 | { 3 | class CncController 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DCS/DCSController.cs: -------------------------------------------------------------------------------- 1 | namespace ZNC.DataAcquisition.DCS 2 | { 3 | class DcsController 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/FinsTcp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/FinsTcp.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/OLEPCS.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/OLEPCS.DLL -------------------------------------------------------------------------------- /MaintenancePlatform/image/Caution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/Caution.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/Header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/Header.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/Header1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/Header1.jpg -------------------------------------------------------------------------------- /MaintenancePlatform/image/MainPage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/MainPage.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/Personal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/Personal.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/alarm_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/alarm_bg.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/change.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/change.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/delete.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/greenf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/greenf.gif -------------------------------------------------------------------------------- /MaintenancePlatform/image/login-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/login-bg.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-1.jpg -------------------------------------------------------------------------------- /MaintenancePlatform/image/main_06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main_06.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/modify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/modify.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/module.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/module.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/monitor.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/search.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/update.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/update.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/yellow.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/yellowf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/yellowf.gif -------------------------------------------------------------------------------- /ZNC.Component/DLL/WPF_Media_Player.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/WPF_Media_Player.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/SQLite.Designer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/SQLite.Designer.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/SQLite.Interop.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/SQLite.Interop.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ComFxPlc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ComFxPlc.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ComQsPlc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ComQsPlc.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/EasyOPC_DA.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/EasyOPC_DA.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/EntFxPlc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/EntFxPlc.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/EntQsPlc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/EntQsPlc.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/HostLink.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/HostLink.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/MSCOMM32.OCX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/MSCOMM32.OCX -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/MSWINSCK.OCX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/MSWINSCK.OCX -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ModbusRTU.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ModbusRTU.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ModbusTCP.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ModbusTCP.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/NModbus4.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/NModbus4.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/OpcClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/OpcClient.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/OpcRcw.Da.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/OpcRcw.Da.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/TransFins.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/TransFins.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/TransFxPlc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/TransFxPlc.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/TransQsPlc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/TransQsPlc.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/TransS7PPI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/TransS7PPI.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/WinTcpS7.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/WinTcpS7.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/msvbvm60.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/msvbvm60.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/opc_aeps.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/opc_aeps.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/opcbc_ps.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/opcbc_ps.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/opccomn_ps.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/opccomn_ps.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/opcdaauto.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/opcdaauto.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/opchda_ps.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/opchda_ps.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/opcproxy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/opcproxy.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/opcsec_ps.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/opcsec_ps.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Interop.SpeechLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Interop.SpeechLib.dll -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_last.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_last.gif -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_load.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_load.png -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_next.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_next.gif -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_prev.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_prev.gif -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/NPOI.OpenXml4Net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/NPOI.OpenXml4Net.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Oracle.DataAccess.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Oracle.DataAccess.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/mysql.data.entity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/mysql.data.entity.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/EntQsPlc_Asc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/EntQsPlc_Asc.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ModRtuTrans.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ModRtuTrans.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/OPCdotNETLib.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/OPCdotNETLib.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/OpcServices.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/OpcServices.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/TransModRTU.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/TransModRTU.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/WinTcpS7_1K.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/WinTcpS7_1K.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/WinTcpS7_CP2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/WinTcpS7_CP2.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/PLC/PLCController.cs: -------------------------------------------------------------------------------- 1 | namespace ZNC.DataAcquisition.PLC 2 | { 3 | public class PlcController 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/Robot/RobotController.cs: -------------------------------------------------------------------------------- 1 | namespace ZNC.DataAcquisition.Robot 2 | { 3 | class RobotController 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/SCADA/SCADAController.cs: -------------------------------------------------------------------------------- 1 | namespace ZNC.DataAcquisition.SCADA 2 | { 3 | class ScadaController 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /MaintenancePlatform/image/MainPage_pure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/MainPage_pure.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-0002_04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-0002_04.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-0002_13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-0002_13.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-0003_05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-0003_05.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-0003_40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-0003_40.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-0003_49.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-0003_49.png -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-BG-Down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-BG-Down.png -------------------------------------------------------------------------------- /ZNC.Component/DLL/CustomControlLibrary.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/CustomControlLibrary.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Data.dll -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/CHAT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/CHAT.png -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/HELP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/HELP.png -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/HOME.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/HOME.png -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_first.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_first.gif -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_loading.gif -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/NPOI.OpenXmlFormats.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/NPOI.OpenXmlFormats.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/System.Data.SQLite.DLL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/System.Data.SQLite.DLL -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/System.Data.SQLite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/System.Data.SQLite.zip -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/mysql.visualstudio.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/mysql.visualstudio.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/WinTcpS7_Smart.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/WinTcpS7_Smart.dll -------------------------------------------------------------------------------- /MaintenancePlatform/image/main-0003_37-45.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/MaintenancePlatform/image/main-0003_37-45.png -------------------------------------------------------------------------------- /ZNC.Component/DLL/DevComponents.WpfRibbon.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/DevComponents.WpfRibbon.dll -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/IMAC_NEW.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/IMAC_NEW.png -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/Personal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/Personal.png -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_last_gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_last_gray.gif -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_next_gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_next_gray.gif -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_prev_gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_prev_gray.gif -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/System.Data.SQLite.EF6.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/System.Data.SQLite.EF6.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ABB.PCSdk.Install.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ABB.PCSdk.Install.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.dll -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/CHAT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/CHAT.png -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/HELP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/HELP.png -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/HOME.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/HOME.png -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/DASHBOARD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/DASHBOARD.png -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/HOME_PHONE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/HOME_PHONE.png -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/icons/HOURGLASS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/ImageButton2/icons/HOURGLASS.png -------------------------------------------------------------------------------- /ZNC.Component/Images/pagination_first_gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/Images/pagination_first_gray.gif -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.Unity.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.Unity.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Oracle.ManagedDataAccess.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Oracle.ManagedDataAccess.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/System.Data.SQLite.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/System.Data.SQLite.Linq.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Microsoft.Expression.Drawing.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Microsoft.Expression.Drawing.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/Interop.OPCAutomation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/Interop.OPCAutomation.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.Data.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.Input.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.Input.dll -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/DASHBOARD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/DASHBOARD.png -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/HOME_PHONE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/HOME_PHONE.png -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/HOURGLASS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/HOURGLASS.png -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/IMAC_NEW.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/IMAC_NEW.png -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/icons/Personal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DynamicImageButton/icons/Personal.png -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Exchange.WebServices.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Exchange.WebServices.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ABB.Robotics.RobotStudio.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ABB.Robotics.RobotStudio.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.Charting.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.Charting.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.Docking.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.Docking.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.GridView.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.GridView.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ABB.Robotics.Adapters.IRC5.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ABB.Robotics.Adapters.IRC5.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/ABB.Robotics.Controllers.PC.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/ABB.Robotics.Controllers.PC.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/RobotStudio.Services.RobApi.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/RobotStudio.Services.RobApi.dll -------------------------------------------------------------------------------- /PlatformUpdater/MaintenancePlatform/原始空数据库ZNCPlatform.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/PlatformUpdater/MaintenancePlatform/原始空数据库ZNCPlatform.db -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.Navigation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.Navigation.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.RibbonBar.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.RibbonBar.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.ServiceLocation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.ServiceLocation.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.Unity.Configuration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.Unity.Configuration.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.Unity.Interception.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.Unity.Interception.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/RobotStudio.Services.RobApi.Desktop.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAcquisition/DLL/RobotStudio.Services.RobApi.Desktop.dll -------------------------------------------------------------------------------- /ZNC.Component/DLL/Telerik.Windows.Controls.DataVisualization.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.Component/DLL/Telerik.Windows.Controls.DataVisualization.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Data.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Caching.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Caching.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Common.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Common.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Logging.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Data.SqlCe.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Data.SqlCe.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.AzMan.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.AzMan.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.Unity.Interception.Configuration.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.Unity.Interception.Configuration.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Caching.Database.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Caching.Database.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Logging.Database.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.PolicyInjection.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.PolicyInjection.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Caching.Cryptography.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.Cryptography.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.Cache.CachingStore.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Security.Cache.CachingStore.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF.dll -------------------------------------------------------------------------------- /ZNC.Component/UploadComponent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ZNC.Component 7 | { 8 | public class UploadComponent 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapter.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WinForms.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WinForms.dll -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapterV5.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.Design.HostAdapterV5.dll -------------------------------------------------------------------------------- /ZNC.DataAcquisition/OPC/OPCController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ZNC.DataAcquisition.OPC 7 | { 8 | class OpcController 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/RealTimeAnalyzer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ZNC.DataAnalysis 7 | { 8 | public class RealTimeAnalyzer 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.EnvironmentalOverrides.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AndrewChien/MaintenancePlatform/HEAD/ZNC.DataAccess/DLL/Microsoft.Practices.EnterpriseLibrary.Configuration.EnvironmentalOverrides.dll -------------------------------------------------------------------------------- /MaintenancePlatform/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MaintenancePlatform 2 | wpf工业大数据采集维保平台,工业车间展示主控中心,大数据采集控制端。 3 | 4 | 开源工业级软件!!!郑重声明:除个别库外,全部代码为本人开发,与其他任何公司现有产品无关。使用请注明出处! 5 | 截图仅供参考! 6 | 7 | ![image](https://github.com/AndrewChien/MaintenancePlatform/blob/master/QQ%E6%88%AA%E5%9B%BE20181116162239.png) 8 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/Modbus/ModbusController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace ZNC.DataAcquisition.Modbus 7 | { 8 | class ModbusController 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ZNC.Component/Controls/UserControl1.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /ZNC.Component/Controls/AutoCompleteTextBox.xaml: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /ZNC.Utility/Command/CommandEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ZNC.Utility.Command 4 | { 5 | public class CommandEventArgs 6 | { 7 | public object sender; 8 | public EventArgs EventArgs; 9 | public object CommandParameter; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /PlatformUpdater/Properties/Settings.settings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /ZNC.Component/Controls/AlarmControl.xaml.cs: -------------------------------------------------------------------------------- 1 | using System.Windows.Controls; 2 | 3 | namespace ZNC.Component.Controls 4 | { 5 | /// 6 | /// AlarmControl.xaml 的交互逻辑 7 | /// 8 | public partial class AlarmControl : UserControl 9 | { 10 | public AlarmControl() 11 | { 12 | InitializeComponent(); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ZNC.Component/Controls/AutoComplete.xaml: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /PlatformUpdater/ListView.cs: -------------------------------------------------------------------------------- 1 | namespace PlatformUpdater 2 | { 3 | public class ListView : System.Windows.Forms.ListView 4 | { 5 | public new bool DoubleBuffered 6 | { 7 | get 8 | { 9 | return base.DoubleBuffered; 10 | } 11 | set 12 | { 13 | base.DoubleBuffered = value; 14 | } 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /ZNC.Utility/Command/CommandGroup.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Windows.Markup; 3 | 4 | namespace ZNC.Utility.Command 5 | { 6 | [ContentProperty("Children")] 7 | public class CommandGroup 8 | { 9 | List _children = new List(); 10 | public List Children 11 | { 12 | get { return _children; } 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /MaintenancePlatform/Print/PrintWindow.xaml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /PlatformUpdater/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Windows.Forms; 5 | 6 | namespace PlatformUpdater 7 | { 8 | static class Program 9 | { 10 | /// 11 | /// 应用程序的主入口点。 12 | /// 13 | [STAThread] 14 | static void Main() 15 | { 16 | Application.EnableVisualStyles(); 17 | Application.SetCompatibleTextRenderingDefault(false); 18 | Application.Run(new frmUpdate()); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /MaintenancePlatform/ComfigMain.xaml: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/DLL/FinsTcp.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | FinsTcp 6 | 7 | 8 | 9 | 10 | 11 | 返回此类使用的缓存的 ResourceManager 实例。 12 | 13 | 14 | 15 | 使用此强类型资源类,为所有资源查找 16 | 重写当前线程的 CurrentUICulture 属性。 17 | 18 | 19 | 20 | 一个强类型的资源类,用于查找本地化的字符串等。 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /ZNC.Component/ImageButton.xaml: -------------------------------------------------------------------------------- 1 | 13 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/SystemSettingView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Systems 16 | { 17 | /// 18 | /// SystemSettingView.xaml 的交互逻辑 19 | /// 20 | public partial class SystemSettingView : Page 21 | { 22 | public SystemSettingView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentHealthView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentHealthView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentHealthView : Page 21 | { 22 | public EquipmentHealthView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentLedgerView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentLedgerView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentLedgerView : Page 21 | { 22 | public EquipmentLedgerView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentMaterialView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentMaterialView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentMaterialView : Page 21 | { 22 | public EquipmentMaterialView() 23 | { 24 | InitializeComponent(); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ZNC.Utility/GroupNameAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace ZNC.Utility 4 | { 5 | [AttributeUsage(AttributeTargets.Property)] 6 | public class GroupNameAttribute : Attribute 7 | { 8 | public GroupNameAttribute() 9 | { 10 | 11 | } 12 | public GroupNameAttribute(string groupName) 13 | { 14 | this._groupName = groupName; 15 | 16 | } 17 | private string _groupName; 18 | /// 19 | /// validation group, some of time we don't need validation the whole object, then we can validation only the property specified group 20 | /// 21 | public string GroupName 22 | { 23 | get { return _groupName; } 24 | set { _groupName = value; } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/RoleView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Users 16 | { 17 | /// 18 | /// RoleView.xaml 的交互逻辑 19 | /// 20 | public partial class RoleView : Page 21 | { 22 | public RoleView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(RoleVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/UserView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Users 16 | { 17 | /// 18 | /// UserView.xaml 的交互逻辑 19 | /// 20 | public partial class UserView : Page 21 | { 22 | public UserView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(UserVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/DictionaryEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | 16 | namespace MaintenancePlatform.Views.Systems 17 | { 18 | /// 19 | /// DictionaryEditView.xaml 的交互逻辑 20 | /// 21 | public partial class DictionaryEditView : WindowBase 22 | { 23 | public DictionaryEditView() 24 | { 25 | InitializeComponent(); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/PushRuleView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Systems 16 | { 17 | /// 18 | /// PushRuleView.xaml 的交互逻辑 19 | /// 20 | public partial class PushRuleView : Page 21 | { 22 | public PushRuleView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(PushRuleVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentView : Page 21 | { 22 | public EquipmentView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(EquipmentVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/SystemLogView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Systems 16 | { 17 | /// 18 | /// SystemLogView.xaml 的交互逻辑 19 | /// 20 | public partial class SystemLogView : Page 21 | { 22 | public SystemLogView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(SystemLogVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/DepartmentView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Users 16 | { 17 | /// 18 | /// DepartmentView.xaml 的交互逻辑 19 | /// 20 | public partial class DepartmentView : Page 21 | { 22 | public DepartmentView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(DepartmentVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/JurisdictionView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Users 16 | { 17 | /// 18 | /// JurisdictionView.xaml 的交互逻辑 19 | /// 20 | public partial class JurisdictionView : Page 21 | { 22 | public JurisdictionView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(JurisdictionVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /ZNC.Component/VisibilityConverter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows; 3 | using System.Windows.Data; 4 | 5 | namespace ZNC.Component { 6 | public class VisibilityConverter :IValueConverter{ 7 | public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { 8 | bool result = true; 9 | try { 10 | result = System.Convert.ToBoolean(value); 11 | } catch {} 12 | 13 | Visibility v; 14 | if (result) v = Visibility.Visible; 15 | else v = Visibility.Collapsed; 16 | return v; 17 | } 18 | 19 | public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { 20 | throw new NotImplementedException(); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentLogView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentLogView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentLogView : Page 21 | { 22 | public EquipmentLogView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(EquipmentLogVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/AlarmHistoryView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Systems 16 | { 17 | /// 18 | /// AlarmHistoryView.xaml 的交互逻辑 19 | /// 20 | public partial class AlarmHistoryView : Page 21 | { 22 | public AlarmHistoryView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(AlarmHistoryVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/SystemModuleView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Systems 16 | { 17 | /// 18 | /// SystemModuleView.xaml 的交互逻辑 19 | /// 20 | public partial class SystemModuleView : Page 21 | { 22 | public SystemModuleView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(SystemModuleVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentCardView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentCardView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentCardView : Page 21 | { 22 | public EquipmentCardView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(EquipmentCardVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/SystemServiceView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Systems 16 | { 17 | /// 18 | /// SystemServiceView.xaml 的交互逻辑 19 | /// 20 | public partial class SystemServiceView : Page 21 | { 22 | public SystemServiceView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(SystemServiceVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/UploadSettingView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Systems 16 | { 17 | /// 18 | /// UploadSettingView.xaml 的交互逻辑 19 | /// 20 | public partial class UploadSettingView : Page 21 | { 22 | public UploadSettingView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(UploadSettingVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/ErrorDictionaryView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// ErrorDictionaryView.xaml 的交互逻辑 19 | /// 20 | public partial class ErrorDictionaryView : Page 21 | { 22 | public ErrorDictionaryView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(ErrorDictionaryVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentAlarmRecordView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentAlarmRecordView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentAlarmRecordView : Page 21 | { 22 | public EquipmentAlarmRecordView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(EquipmentAlarmRecordVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentRepairRecordView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform.Views.Equipment 16 | { 17 | /// 18 | /// EquipmentRepairRecordView.xaml 的交互逻辑 19 | /// 20 | public partial class EquipmentRepairRecordView : Page 21 | { 22 | public EquipmentRepairRecordView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(EquipmentRepairRecordVM.PageLoad); 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Acquisition/AcquisitionSettingView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.ViewModels.Acquisition; 15 | 16 | namespace MaintenancePlatform.Views.Acquisition 17 | { 18 | /// 19 | /// AcquisitionSettingView.xaml 的交互逻辑 20 | /// 21 | public partial class AcquisitionSettingView : Page 22 | { 23 | public AcquisitionSettingView() 24 | { 25 | InitializeComponent(); 26 | this.Loaded += new RoutedEventHandler(AcquisitionSettingVM.PageLoad); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Acquisition/AcquisitionBaseDataView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.ViewModels.Acquisition; 15 | 16 | namespace MaintenancePlatform.Views.Acquisition 17 | { 18 | /// 19 | /// AcquisitionBaseDataView.xaml 的交互逻辑 20 | /// 21 | public partial class AcquisitionBaseDataView : Page 22 | { 23 | public AcquisitionBaseDataView() 24 | { 25 | InitializeComponent(); 26 | this.Loaded += new RoutedEventHandler(AcquisitionBaseDataVM.PageLoad); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/RoleEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Users; 16 | using ZNC.DataEntiry; 17 | 18 | namespace MaintenancePlatform.Views.Users 19 | { 20 | /// 21 | /// RoleEditView.xaml 的交互逻辑 22 | /// 23 | public partial class RoleEditView : WindowBase 24 | { 25 | public Role MD; 26 | public RoleEditView(Role md) 27 | { 28 | InitializeComponent(); 29 | this.Loaded += new RoutedEventHandler(RoleEditVM.PageLoad); 30 | MD = md; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ZNC.Component/Controls/AutoCompleteEntry.cs: -------------------------------------------------------------------------------- 1 | namespace ZNC.Component.Controls 2 | { 3 | public class AutoCompleteEntry 4 | { 5 | private string[] keywordStrings; 6 | private string displayString; 7 | 8 | public string[] KeywordStrings 9 | { 10 | get 11 | { 12 | if (keywordStrings == null) 13 | { 14 | keywordStrings = new string[] { displayString }; 15 | } 16 | return keywordStrings; 17 | } 18 | } 19 | 20 | public string DisplayName 21 | { 22 | get { return displayString; } 23 | set { displayString = value; } 24 | } 25 | 26 | public AutoCompleteEntry(string name, params string[] keywords) 27 | { 28 | displayString = name; 29 | keywordStrings = keywords; 30 | } 31 | 32 | public override string ToString() 33 | { 34 | return displayString; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/DepartmentEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Users; 16 | using ZNC.DataEntiry; 17 | 18 | namespace MaintenancePlatform.Views.Users 19 | { 20 | /// 21 | /// DepartmentEditView.xaml 的交互逻辑 22 | /// 23 | public partial class DepartmentEditView : WindowBase 24 | { 25 | public Department MD; 26 | public DepartmentEditView(Department md) 27 | { 28 | InitializeComponent(); 29 | this.Loaded += new RoutedEventHandler(DepartmentEditVM.PageLoad); 30 | MD = md; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Equipment; 16 | 17 | namespace MaintenancePlatform.Views.Equipment 18 | { 19 | /// 20 | /// EquipmentEditView.xaml 的交互逻辑 21 | /// 22 | public partial class EquipmentEditView : WindowBase 23 | { 24 | public ZNC.DataEntiry.Equipment MD; 25 | public EquipmentEditView(ZNC.DataEntiry.Equipment md) 26 | { 27 | InitializeComponent(); 28 | this.Loaded += new RoutedEventHandler(EquipmentEditVM.PageLoad); 29 | MD = md; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/JurisdictionEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Users; 16 | using ZNC.DataEntiry; 17 | 18 | namespace MaintenancePlatform.Views.Users 19 | { 20 | /// 21 | /// JurisdictionEditView.xaml 的交互逻辑 22 | /// 23 | public partial class JurisdictionEditView : WindowBase 24 | { 25 | public Jurisdiction MD; 26 | public JurisdictionEditView(Jurisdiction md) 27 | { 28 | InitializeComponent(); 29 | this.Loaded += new RoutedEventHandler(JurisdictionEditVM.PageLoad); 30 | MD = md; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/SystemModuleEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Systems; 16 | using ZNC.DataEntiry; 17 | 18 | namespace MaintenancePlatform.Views.Systems 19 | { 20 | /// 21 | /// SystemModuleEditView.xaml 的交互逻辑 22 | /// 23 | public partial class SystemModuleEditView : WindowBase 24 | { 25 | public SystemModule MD; 26 | public SystemModuleEditView(SystemModule md) 27 | { 28 | InitializeComponent(); 29 | this.Loaded += new RoutedEventHandler(SystemModuleEditVM.PageLoad); 30 | MD = md; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Acquisition/AcquisitionSettingEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Shapes; 13 | using MaintenancePlatform.Base; 14 | using MaintenancePlatform.ViewModels.Acquisition; 15 | using ZNC.DataEntiry; 16 | 17 | namespace MaintenancePlatform.Views.Acquisition 18 | { 19 | /// 20 | /// AcquisitionSettingEditView.xaml 的交互逻辑 21 | /// 22 | public partial class AcquisitionSettingEditView : WindowBase 23 | { 24 | public AcquisitionSetting MD; 25 | public AcquisitionSettingEditView(AcquisitionSetting md) 26 | { 27 | InitializeComponent(); 28 | this.Loaded += new RoutedEventHandler(AcquisitionSettingEditVM.PageLoad); 29 | MD = md; 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/PushRuleEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Systems; 16 | using MaintenancePlatform.ViewModels.Users; 17 | using ZNC.DataEntiry; 18 | 19 | namespace MaintenancePlatform.Views.Systems 20 | { 21 | /// 22 | /// PushRuleEditView.xaml 的交互逻辑 23 | /// 24 | public partial class PushRuleEditView : WindowBase 25 | { 26 | public PushRule MD; 27 | public PushRuleEditView(PushRule md) 28 | { 29 | InitializeComponent(); 30 | this.Loaded += new RoutedEventHandler(PushRuleEditVM.PageLoad); 31 | MD = md; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/ErrorDictionaryEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Equipment; 16 | using ZNC.DataEntiry; 17 | 18 | namespace MaintenancePlatform.Views.Equipment 19 | { 20 | /// 21 | /// ErrorDictionaryEditView.xaml 的交互逻辑 22 | /// 23 | public partial class ErrorDictionaryEditView : WindowBase 24 | { 25 | public ErrorDictionary MD; 26 | public ErrorDictionaryEditView(ErrorDictionary md) 27 | { 28 | InitializeComponent(); 29 | this.Loaded += new RoutedEventHandler(ErrorDictionaryEditVM.PageLoad); 30 | MD = md; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Users/RoleDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Users 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class RoleDAL 15 | { 16 | public RoleDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(Role model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(Role model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(Role model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /MaintenancePlatform/ViewModels/PublicConverts.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows.Data; 6 | 7 | namespace MaintenancePlatform.ViewModels 8 | { 9 | [ValueConversion(typeof(System.Enum), typeof(string))] 10 | public class ConvertForEnableStatus : IValueConverter 11 | { 12 | #region IValueConverter 成员 13 | 14 | public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 15 | { 16 | switch ((int)value) 17 | { 18 | case 2: 19 | return "可用"; 20 | case 3: 21 | return "不可用"; 22 | case 4: 23 | return "其它"; 24 | } 25 | return ""; 26 | } 27 | 28 | public object ConvertBack(object value, Type targetType, object parameter, 29 | System.Globalization.CultureInfo culture) 30 | { 31 | 32 | return value; 33 | } 34 | 35 | 36 | } 37 | #endregion 38 | } -------------------------------------------------------------------------------- /ZNC.Utility/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ZNC.Utility")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ZNC.Utility")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("417775fd-f0d1-4989-b7cf-b34776a3c07c")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ZNC.Component/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ZNC.Component")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ZNC.Component")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("05e36aea-d730-453e-a751-547a9a750405")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /PlatformUpdater/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("PlatformUpdater")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("PlatformUpdater")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("c8456048-fbea-400f-88c7-5d03e7006c9e")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ZNC.DataAccess/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ZNC.DataAccess")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ZNC.DataAccess")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("f0ba9e4c-84ed-4676-b8f8-478a9db3aa7c")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ZNC.DataEntiry/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ZNC.DataEntiry")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ZNC.DataEntiry")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("26bc72d8-87b1-4f08-ab1f-24cb9f8dc720")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/SystemServiceEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Systems; 16 | using MaintenancePlatform.ViewModels.Users; 17 | using ZNC.DataEntiry; 18 | 19 | namespace MaintenancePlatform.Views.Systems 20 | { 21 | /// 22 | /// SystemServiceEditView.xaml 的交互逻辑 23 | /// 24 | public partial class SystemServiceEditView : WindowBase 25 | { 26 | public SystemService MD; 27 | public SystemServiceEditView(SystemService md) 28 | { 29 | InitializeComponent(); 30 | this.Loaded += new RoutedEventHandler(SystemServiceEditVM.PageLoad); 31 | MD = md; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Systems/UploadSettingEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Systems; 16 | using MaintenancePlatform.ViewModels.Users; 17 | using ZNC.DataEntiry; 18 | 19 | namespace MaintenancePlatform.Views.Systems 20 | { 21 | /// 22 | /// UploadSettingEditView.xaml 的交互逻辑 23 | /// 24 | public partial class UploadSettingEditView : WindowBase 25 | { 26 | public UploadSetting MD; 27 | public UploadSettingEditView(UploadSetting md) 28 | { 29 | InitializeComponent(); 30 | this.Loaded += new RoutedEventHandler(UploadSettingEditVM.PageLoad); 31 | MD = md; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Users/UserDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace ZNC.DataAccess.DA.Users 8 | { 9 | /// 10 | /// AndrewChien 2017/10/22 9:37:11 11 | /// AutomaticCoder代码生成器生成 12 | /// 13 | public class UserDAL 14 | { 15 | public UserDAL() 16 | { 17 | 18 | } 19 | 20 | public ObservableCollection Select(string _sqlwhere) 21 | { 22 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 23 | } 24 | 25 | public int Insert(DataEntiry.User model) 26 | { 27 | return CommonAccess.ComSQLiteInsert(model); 28 | } 29 | 30 | public int Update(DataEntiry.User model, string _identity) 31 | { 32 | return CommonAccess.ComSQLiteUpdate(model, _identity); 33 | } 34 | 35 | public int Delete(DataEntiry.User model) 36 | { 37 | return CommonAccess.ComSQLiteDelete(model, "ID"); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ZNC.DataAnalysis")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ZNC.DataAnalysis")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("e755cb42-2057-4d83-b64d-bcc7433cc7fb")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentCardEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Equipment; 16 | using MaintenancePlatform.ViewModels.Users; 17 | using ZNC.DataEntiry; 18 | 19 | namespace MaintenancePlatform.Views.Equipment 20 | { 21 | /// 22 | /// EquipmentCardEditView.xaml 的交互逻辑 23 | /// 24 | public partial class EquipmentCardEditView : WindowBase 25 | { 26 | public EquipmentCard MD; 27 | public EquipmentCardEditView(EquipmentCard md) 28 | { 29 | InitializeComponent(); 30 | this.Loaded += new RoutedEventHandler(EquipmentCardEditVM.PageLoad); 31 | MD = md; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/PushRuleDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class PushRuleDAL 15 | { 16 | public PushRuleDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(PushRule model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(PushRule model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(PushRule model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAcquisition/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // 有关程序集的一般信息由以下 6 | // 控制。更改这些特性值可修改 7 | // 与程序集关联的信息。 8 | [assembly: AssemblyTitle("ZNC.DataAcquisition")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("ZNC.DataAcquisition")] 13 | [assembly: AssemblyCopyright("Copyright © 2017")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | //将 ComVisible 设置为 false 将使此程序集中的类型 18 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 19 | //请将此类型的 ComVisible 特性设置为 true。 20 | [assembly: ComVisible(false)] 21 | 22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID 23 | [assembly: Guid("606bc789-097c-44a7-99e7-3ff372c33ca3")] 24 | 25 | // 程序集的版本信息由下列四个值组成: 26 | // 27 | // 主版本 28 | // 次版本 29 | // 生成号 30 | // 修订号 31 | // 32 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 33 | // 方法是按如下所示使用“*”: : 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/SystemLogDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class SystemLogDAL 15 | { 16 | public SystemLogDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(SystemLog model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(SystemLog model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(SystemLog model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Users/DepartmentDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Users 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class DepartmentDAL 15 | { 16 | public DepartmentDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(Department model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(Department model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(Department model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Users/JurisdictionDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Users 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class JurisdictionDAL 15 | { 16 | public JurisdictionDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(Jurisdiction model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(Jurisdiction model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(Jurisdiction model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/AlarmHistoryDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class AlarmHistoryDAL 15 | { 16 | public AlarmHistoryDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(AlarmHistory model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(AlarmHistory model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(AlarmHistory model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/SystemModuleDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class SystemModuleDAL 15 | { 16 | public SystemModuleDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(SystemModule model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(SystemModule model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(SystemModule model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentLogDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentLogDAL 15 | { 16 | public EquipmentLogDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(EquipmentLog model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(EquipmentLog model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(EquipmentLog model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/DictionaryDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class DictionaryDAL 15 | { 16 | public DictionaryDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(Dictionary model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(Dictionary model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(Dictionary model, string _identit) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, _identit); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentCardDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentCardDAL 15 | { 16 | public EquipmentCardDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(EquipmentCard model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(EquipmentCard model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(EquipmentCard model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | 7 | namespace ZNC.DataAccess.DA.Equipment 8 | { 9 | /// 10 | /// AndrewChien 2017/10/22 9:37:11 11 | /// AutomaticCoder代码生成器生成 12 | /// 13 | public class EquipmentDAL 14 | { 15 | public EquipmentDAL() 16 | { 17 | 18 | } 19 | 20 | public ObservableCollection Select(string _sqlwhere) 21 | { 22 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 23 | } 24 | 25 | public int Insert(DataEntiry.Equipment model) 26 | { 27 | return CommonAccess.ComSQLiteInsert(model); 28 | } 29 | 30 | public int Update(DataEntiry.Equipment model, string _identity) 31 | { 32 | return CommonAccess.ComSQLiteUpdate(model, _identity); 33 | } 34 | 35 | public int Delete(DataEntiry.Equipment model) 36 | { 37 | return CommonAccess.ComSQLiteDelete(model, "ID"); 38 | } 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/SystemServiceDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class SystemServiceDAL 15 | { 16 | public SystemServiceDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(SystemService model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(SystemService model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(SystemService model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/SystemSettingDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class SystemSettingDAL 15 | { 16 | public SystemSettingDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(SystemSetting model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(SystemSetting model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(SystemSetting model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Systems/UploadSettingDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Systems 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class UploadSettingDAL 15 | { 16 | public UploadSettingDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(UploadSetting model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(UploadSetting model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(UploadSetting model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /MaintenancePlatform/Print/PrintWindow.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | using System.Windows; 5 | using System.Windows.Controls; 6 | using System.Windows.Data; 7 | using System.Windows.Documents; 8 | using System.Windows.Input; 9 | using System.Windows.Media; 10 | using System.Windows.Media.Imaging; 11 | using System.Windows.Shapes; 12 | using System.IO; 13 | using System.Windows.Markup; 14 | using System.Windows.Xps.Packaging; 15 | using System.Windows.Xps; 16 | using ZNC.Component; 17 | 18 | namespace MaintenancePlatform.Print 19 | { 20 | /// 21 | /// Interaction logic for PrintWindow.xaml 22 | /// 23 | public partial class PrintWindow : Window 24 | { 25 | public PrintWindow() 26 | { 27 | this.InitializeComponent(); 28 | 29 | // Insert code required on object creation below this point. 30 | } 31 | 32 | //传递一个公共的数据类 33 | public string fixedDocFile; 34 | private void Window_Loaded(object sender, RoutedEventArgs e) 35 | { 36 | FileHelper.LoadDocumentViewer(fixedDocFile, docViewer); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Equipment/EquipmentRepairRecordEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | using MaintenancePlatform.Base; 15 | using MaintenancePlatform.ViewModels.Equipment; 16 | using MaintenancePlatform.ViewModels.Users; 17 | using ZNC.DataEntiry; 18 | 19 | namespace MaintenancePlatform.Views.Equipment 20 | { 21 | /// 22 | /// EquipmentRepairRecordEditView.xaml 的交互逻辑 23 | /// 24 | public partial class EquipmentRepairRecordEditView : WindowBase 25 | { 26 | public EquipmentRepairRecord MD; 27 | public EquipmentRepairRecordEditView(EquipmentRepairRecord md) 28 | { 29 | InitializeComponent(); 30 | this.Loaded += new RoutedEventHandler(EquipmentRepairRecordEditVM.PageLoad); 31 | MD = md; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentHealthDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentHealthDAL 15 | { 16 | public EquipmentHealthDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(EquipmentHealth model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(EquipmentHealth model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(EquipmentHealth model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentLedgerDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentLedgerDAL 15 | { 16 | public EquipmentLedgerDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(EquipmentLedger model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(EquipmentLedger model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(EquipmentLedger model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/ErrorDictionaryDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class ErrorDictionaryDAL 15 | { 16 | public ErrorDictionaryDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(ErrorDictionary model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(ErrorDictionary model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(ErrorDictionary model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentMaterialDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentMaterialDAL 15 | { 16 | public EquipmentMaterialDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(EquipmentMaterial model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(EquipmentMaterial model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(EquipmentMaterial model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /PlatformUpdater/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace PlatformUpdater.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Acquisition/AcquisitionSettingDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Acquisition 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class AcquisitionSettingDAL 15 | { 16 | public AcquisitionSettingDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(AcquisitionSetting model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(AcquisitionSetting model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(AcquisitionSetting model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /MaintenancePlatform/Properties/Settings.Designer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | namespace MaintenancePlatform.Properties 12 | { 13 | 14 | 15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] 17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase 18 | { 19 | 20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); 21 | 22 | public static Settings Default 23 | { 24 | get 25 | { 26 | return defaultInstance; 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentAlarmRecordDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentAlarmRecordDAL 15 | { 16 | public EquipmentAlarmRecordDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(EquipmentAlarmRecord model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(EquipmentAlarmRecord model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(EquipmentAlarmRecord model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /ZNC.DataAccess/DA/Equipment/EquipmentRepairRecordDAL.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataEntiry; 7 | 8 | namespace ZNC.DataAccess.DA.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentRepairRecordDAL 15 | { 16 | public EquipmentRepairRecordDAL() 17 | { 18 | 19 | } 20 | 21 | public ObservableCollection Select(string _sqlwhere) 22 | { 23 | return CommonAccess.ComSQLiteSelect(_sqlwhere); 24 | } 25 | 26 | public int Insert(EquipmentRepairRecord model) 27 | { 28 | return CommonAccess.ComSQLiteInsert(model); 29 | } 30 | 31 | public int Update(EquipmentRepairRecord model, string _identity) 32 | { 33 | return CommonAccess.ComSQLiteUpdate(model, _identity); 34 | } 35 | 36 | public int Delete(EquipmentRepairRecord model) 37 | { 38 | return CommonAccess.ComSQLiteDelete(model, "ID"); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /MaintenancePlatform/MainPageView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Navigation; 13 | using System.Windows.Shapes; 14 | 15 | namespace MaintenancePlatform 16 | { 17 | /// 18 | /// MainPageView.xaml 的交互逻辑 19 | /// 20 | public partial class MainPageView : Page 21 | { 22 | public MainPageView() 23 | { 24 | InitializeComponent(); 25 | this.Loaded += new RoutedEventHandler(VM.PageLoaded); 26 | // this.KeyDown += new KeyEventHandler(VM.MainPageView_KeyDown); 27 | this.MouseDown += new MouseButtonEventHandler(VM.MainPageView_MouseDown); 28 | this.KeyDown += new KeyEventHandler(VM.MainPageView_KeyDown); 29 | this.MouseRightButtonDown += new MouseButtonEventHandler(VM.MainPageView_MouseRightButtonDown); 30 | this.Unloaded += new RoutedEventHandler(VM.MainPageView_Unloaded); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ZNC.DataAccess/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ZNC.DataEntiry/Jurisdiction.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace ZNC.DataEntiry 5 | { 6 | [Serializable] 7 | [DataContract] 8 | public class Jurisdiction : ZNC.Utility.DataModelBase 9 | { 10 | private long id; 11 | 12 | [DataMember] 13 | public long ID 14 | { 15 | get { return id; } 16 | set { base.SetValue(ref id, value, () => this.ID, false); } 17 | } 18 | 19 | private long code; 20 | 21 | [DataMember] 22 | public long Code 23 | { 24 | get { return code; } 25 | set { base.SetValue(ref code, value, () => this.Code, false); } 26 | } 27 | 28 | private string name; 29 | 30 | [DataMember] 31 | public string Name 32 | { 33 | get { return name; } 34 | set { base.SetValue(ref name, value, () => this.Name, false); } 35 | } 36 | 37 | private string _value; 38 | 39 | [DataMember] 40 | public string Value 41 | { 42 | get { return _value; } 43 | set { base.SetValue(ref _value, value, () => this.Value, false); } 44 | } 45 | 46 | private string remark; 47 | 48 | [DataMember] 49 | public string Remark 50 | { 51 | get { return remark; } 52 | set { base.SetValue(ref remark, value, () => this.Remark, false); } 53 | } 54 | 55 | } 56 | } -------------------------------------------------------------------------------- /ZNC.DataEntiry/AcquisitionBaseData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace ZNC.DataEntiry 5 | { 6 | [Serializable] 7 | [DataContract] 8 | public class AcquisitionBaseData : ZNC.Utility.DataModelBase 9 | { 10 | private long id; 11 | [DataMember] 12 | public long ID 13 | { 14 | get { return id; } 15 | set { base.SetValue(ref id, value, () => this.ID, false); } 16 | } 17 | private long code; 18 | [DataMember] 19 | public long Code 20 | { 21 | get { return code; } 22 | set { base.SetValue(ref code, value, () => this.Code, false); } 23 | } 24 | private string name; 25 | [DataMember] 26 | public string Name 27 | { 28 | get { return name; } 29 | set { base.SetValue(ref name, value, () => this.Name, false); } 30 | } 31 | private string _value; 32 | [DataMember] 33 | public string Value 34 | { 35 | get { return _value; } 36 | set { base.SetValue(ref _value, value, () => this.Value, false); } 37 | } 38 | private double confidence; 39 | [DataMember] 40 | public double Confidence 41 | { 42 | get { return confidence; } 43 | set { base.SetValue(ref confidence, value, () => this.Confidence, false); } 44 | } 45 | private string remark; 46 | [DataMember] 47 | public string Remark 48 | { 49 | get { return remark; } 50 | set { base.SetValue(ref remark, value, () => this.Remark, false); } 51 | } 52 | 53 | } 54 | 55 | 56 | } 57 | 58 | -------------------------------------------------------------------------------- /ZNC.DataEntiry/SystemSetting.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace ZNC.DataEntiry 5 | { 6 | [Serializable] 7 | [DataContract] 8 | 9 | /// 系统配置表 10 | public class SystemSetting : ZNC.Utility.DataModelBase 11 | { 12 | private long id; 13 | 14 | [DataMember] 15 | public long ID 16 | { 17 | get { return id; } 18 | set { base.SetValue(ref id, value, () => this.ID, false); } 19 | } 20 | 21 | private long code; 22 | 23 | [DataMember] 24 | public long Code 25 | { 26 | get { return code; } 27 | set { base.SetValue(ref code, value, () => this.Code, false); } 28 | } 29 | 30 | private string name; 31 | 32 | [DataMember] 33 | public string Name 34 | { 35 | get { return name; } 36 | set { base.SetValue(ref name, value, () => this.Name, false); } 37 | } 38 | 39 | private string _value; 40 | 41 | [DataMember] 42 | public string Value 43 | { 44 | get { return _value; } 45 | set { base.SetValue(ref _value, value, () => this.Value, false); } 46 | } 47 | 48 | private long enableStatus; 49 | 50 | [DataMember] 51 | public long EnableStatus 52 | { 53 | get { return enableStatus; } 54 | set { base.SetValue(ref enableStatus, value, () => this.EnableStatus, false); } 55 | } 56 | 57 | private string remark; 58 | 59 | [DataMember] 60 | public string Remark 61 | { 62 | get { return remark; } 63 | set { base.SetValue(ref remark, value, () => this.Remark, false); } 64 | } 65 | 66 | } 67 | } -------------------------------------------------------------------------------- /MaintenancePlatform/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Resources; 3 | using System.Runtime.CompilerServices; 4 | using System.Runtime.InteropServices; 5 | using System.Windows; 6 | 7 | // 有关程序集的一般信息由以下 8 | // 控制。更改这些特性值可修改 9 | // 与程序集关联的信息。 10 | [assembly: AssemblyTitle("MaintenancePlatform")] 11 | [assembly: AssemblyDescription("")] 12 | [assembly: AssemblyConfiguration("")] 13 | [assembly: AssemblyCompany("")] 14 | [assembly: AssemblyProduct("MaintenancePlatform")] 15 | [assembly: AssemblyCopyright("Copyright © 2017")] 16 | [assembly: AssemblyTrademark("")] 17 | [assembly: AssemblyCulture("")] 18 | 19 | //将 ComVisible 设置为 false 将使此程序集中的类型 20 | //对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, 21 | //请将此类型的 ComVisible 特性设置为 true。 22 | [assembly: ComVisible(false)] 23 | 24 | //若要开始生成可本地化的应用程序,请 25 | // 中的 .csproj 文件中 26 | //例如,如果您在源文件中使用的是美国英语, 27 | //使用的是美国英语,请将 设置为 en-US。 然后取消 28 | //对以下 NeutralResourceLanguage 特性的注释。 更新 29 | //以下行中的“en-US”以匹配项目文件中的 UICulture 设置。 30 | 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] 32 | 33 | 34 | [assembly: ThemeInfo( 35 | ResourceDictionaryLocation.None, //主题特定资源词典所处位置 36 | //(当资源未在页面 37 | //或应用程序资源字典中找到时使用) 38 | ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置 39 | //(当资源未在页面 40 | //、应用程序或任何主题专用资源字典中找到时使用) 41 | )] 42 | 43 | 44 | // 程序集的版本信息由下列四个值组成: 45 | // 46 | // 主版本 47 | // 次版本 48 | // 生成号 49 | // 修订号 50 | // 51 | //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, 52 | // 方法是按如下所示使用“*”: : 53 | // [assembly: AssemblyVersion("1.0.*")] 54 | [assembly: AssemblyVersion("1.0.0.0")] 55 | [assembly: AssemblyFileVersion("1.0.0.0")] 56 | -------------------------------------------------------------------------------- /ZNC.Component/DynamicImageButton/DynamicButton.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows; 3 | using System.Windows.Controls.Primitives; 4 | using System.Windows.Media.Imaging; 5 | 6 | namespace ZNC.Component.DynamicImageButton 7 | { 8 | public class DynamicButton : ButtonBase 9 | { 10 | static DynamicButton() 11 | { 12 | DefaultStyleKeyProperty.OverrideMetadata(typeof(DynamicButton), new FrameworkPropertyMetadata(typeof(DynamicButton))); 13 | } 14 | 15 | public string IconImageUri 16 | { 17 | get { return (string)GetValue(IconImageUriProperty); } 18 | set 19 | { 20 | SetValue(IconImageUriProperty, value); 21 | } 22 | } 23 | public static readonly DependencyProperty IconImageUriProperty = 24 | DependencyProperty.Register("IconImageUri", typeof(string), typeof(DynamicButton), new UIPropertyMetadata(string.Empty, 25 | (o, e) => 26 | { 27 | try 28 | { 29 | Uri uriSource = new Uri((string)e.NewValue, UriKind.RelativeOrAbsolute); 30 | if (uriSource != null) 31 | { 32 | DynamicButton button = o as DynamicButton; 33 | BitmapImage img = new BitmapImage(uriSource); 34 | button.SetValue(IconImageProperty, img); 35 | } 36 | } 37 | catch (Exception ex) 38 | { 39 | throw ex; 40 | } 41 | })); 42 | 43 | public BitmapImage IconImage 44 | { 45 | get { return (BitmapImage)GetValue(IconImageProperty); } 46 | set { SetValue(IconImageProperty, value); } 47 | } 48 | public static readonly DependencyProperty IconImageProperty = 49 | DependencyProperty.Register("IconImage", typeof(BitmapImage), typeof(DynamicButton), new UIPropertyMetadata(null)); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /MaintenancePlatform/ComfigMain.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Input; 10 | using System.Windows.Media; 11 | using System.Windows.Media.Imaging; 12 | using System.Windows.Shapes; 13 | using ZNC.DataAnalysis.BIZ.Systems; 14 | using ZNC.DataEntiry; 15 | 16 | namespace MaintenancePlatform 17 | { 18 | /// 19 | /// ComfigMain.xaml 的交互逻辑 20 | /// 21 | public partial class ComfigMain : Window 22 | { 23 | public ComfigMain() 24 | { 25 | InitializeComponent(); 26 | } 27 | 28 | private void MenuLoadRef() 29 | { 30 | // 获取用户功能列表 31 | var sysmenu = new SystemModuleBIZ().SelectAll(); 32 | 33 | foreach (SystemModule data in sysmenu) 34 | { 35 | ZNC.Component.ImageButton2.DynamicImageButton ImgBtn = new ZNC.Component.ImageButton2.DynamicImageButton 36 | { 37 | Name = "btn_" + data.Code, 38 | Content = data.Name, 39 | FontSize = 16, 40 | Margin = new Thickness(0, 2, 0, 2), 41 | HorizontalContentAlignment = HorizontalAlignment.Center, 42 | VerticalAlignment = VerticalAlignment.Center, 43 | Visibility = Visibility.Visible, 44 | Foreground = new SolidColorBrush(Colors.White) 45 | }; 46 | ImgBtn.IconImage = new BitmapImage(new Uri("pack://siteoforigin:,,,/image/" + data.PicUrl)); 47 | //ImgBtn.Click += new RoutedEventHandler(VM.Menu_Click); 48 | //this.MenuPanel.Children.Add(ImgBtn); 49 | } 50 | 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /ZNC.DataEntiry/EquipmentHealth.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace ZNC.DataEntiry 5 | { 6 | [Serializable] 7 | [DataContract] 8 | public class EquipmentHealth : ZNC.Utility.DataModelBase 9 | { 10 | private long id; 11 | 12 | [DataMember] 13 | public long ID 14 | { 15 | get { return id; } 16 | set { base.SetValue(ref id, value, () => this.ID, false); } 17 | } 18 | 19 | private long code; 20 | 21 | [DataMember] 22 | public long Code 23 | { 24 | get { return code; } 25 | set { base.SetValue(ref code, value, () => this.Code, false); } 26 | } 27 | 28 | private long equipID; 29 | 30 | [DataMember] 31 | public long EquipID 32 | { 33 | get { return equipID; } 34 | set { base.SetValue(ref equipID, value, () => this.EquipID, false); } 35 | } 36 | 37 | private string healthName; 38 | 39 | [DataMember] 40 | public string HealthName 41 | { 42 | get { return healthName; } 43 | set { base.SetValue(ref healthName, value, () => this.HealthName, false); } 44 | } 45 | 46 | private string content; 47 | 48 | [DataMember] 49 | public string Content 50 | { 51 | get { return content; } 52 | set { base.SetValue(ref content, value, () => this.Content, false); } 53 | } 54 | 55 | private long enableStatus; 56 | 57 | [DataMember] 58 | public long EnableStatus 59 | { 60 | get { return enableStatus; } 61 | set { base.SetValue(ref enableStatus, value, () => this.EnableStatus, false); } 62 | } 63 | 64 | private string remark; 65 | 66 | [DataMember] 67 | public string Remark 68 | { 69 | get { return remark; } 70 | set { base.SetValue(ref remark, value, () => this.Remark, false); } 71 | } 72 | 73 | } 74 | } -------------------------------------------------------------------------------- /ZNC.Component/ImageButton2/DynamicImageButton.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Windows; 3 | using System.Windows.Controls.Primitives; 4 | using System.Windows.Media.Imaging; 5 | 6 | namespace ZNC.Component.ImageButton2 7 | { 8 | public class DynamicImageButton : ButtonBase 9 | { 10 | static DynamicImageButton() 11 | { 12 | DefaultStyleKeyProperty.OverrideMetadata(typeof(DynamicImageButton), new FrameworkPropertyMetadata(typeof(DynamicImageButton))); 13 | } 14 | 15 | public string IconImageUri 16 | { 17 | get { return (string)GetValue(IconImageUriProperty); } 18 | set 19 | { 20 | SetValue(IconImageUriProperty, value); 21 | } 22 | } 23 | public static readonly DependencyProperty IconImageUriProperty = 24 | DependencyProperty.Register("IconImageUri", typeof(string), typeof(DynamicImageButton), new UIPropertyMetadata(string.Empty, 25 | (o, e) => 26 | { 27 | try 28 | { 29 | Uri uriSource = new Uri((string)e.NewValue, UriKind.RelativeOrAbsolute); 30 | if (uriSource != null) 31 | { 32 | DynamicImageButton button = o as DynamicImageButton; 33 | BitmapImage img = new BitmapImage(uriSource); 34 | button.SetValue(IconImageProperty, img); 35 | } 36 | } 37 | catch (Exception ex) 38 | { 39 | throw ex; 40 | } 41 | })); 42 | 43 | public BitmapImage IconImage 44 | { 45 | get { return (BitmapImage)GetValue(IconImageProperty); } 46 | set { SetValue(IconImageProperty, value); } 47 | } 48 | 49 | public static readonly DependencyProperty IconImageProperty = 50 | DependencyProperty.Register("IconImage", typeof(BitmapImage), typeof(DynamicImageButton), new UIPropertyMetadata(null)); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /ZNC.DataEntiry/UploadSetting.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace ZNC.DataEntiry 5 | { 6 | [Serializable] 7 | [DataContract] 8 | 9 | /// 上传配置表 10 | public class UploadSetting : ZNC.Utility.DataModelBase 11 | { 12 | private long id; 13 | 14 | [DataMember] 15 | public long ID 16 | { 17 | get { return id; } 18 | set { base.SetValue(ref id, value, () => this.ID, false); } 19 | } 20 | 21 | private long code; 22 | 23 | [DataMember] 24 | public long Code 25 | { 26 | get { return code; } 27 | set { base.SetValue(ref code, value, () => this.Code, false); } 28 | } 29 | 30 | private string ruleName; 31 | 32 | [DataMember] 33 | public string RuleName 34 | { 35 | get { return ruleName; } 36 | set { base.SetValue(ref ruleName, value, () => this.RuleName, false); } 37 | } 38 | 39 | private string format; 40 | 41 | [DataMember] 42 | public string Format 43 | { 44 | get { return format; } 45 | set { base.SetValue(ref format, value, () => this.Format, false); } 46 | } 47 | 48 | private string dataTranferTypeID; 49 | 50 | [DataMember] 51 | public string DataTranferTypeID 52 | { 53 | get { return dataTranferTypeID; } 54 | set { base.SetValue(ref dataTranferTypeID, value, () => this.DataTranferTypeID, false); } 55 | } 56 | 57 | private long enableStatus; 58 | 59 | [DataMember] 60 | public long EnableStatus 61 | { 62 | get { return enableStatus; } 63 | set { base.SetValue(ref enableStatus, value, () => this.EnableStatus, false); } 64 | } 65 | 66 | private string remark; 67 | 68 | [DataMember] 69 | public string Remark 70 | { 71 | get { return remark; } 72 | set { base.SetValue(ref remark, value, () => this.Remark, false); } 73 | } 74 | 75 | } 76 | } -------------------------------------------------------------------------------- /MaintenancePlatform/Views/Users/UserEditView.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Windows; 6 | using System.Windows.Controls; 7 | using System.Windows.Data; 8 | using System.Windows.Documents; 9 | using System.Windows.Forms; 10 | using System.Windows.Input; 11 | using System.Windows.Media; 12 | using System.Windows.Media.Imaging; 13 | using System.Windows.Navigation; 14 | using System.Windows.Shapes; 15 | using MaintenancePlatform.Base; 16 | using MaintenancePlatform.ViewModels.Users; 17 | using ZNC.Component.Helper; 18 | using ZNC.DataAnalysis.BIZ.Users; 19 | using ZNC.DataEntiry; 20 | 21 | namespace MaintenancePlatform.Views.Users 22 | { 23 | /// 24 | /// UserEditView.xaml 的交互逻辑 25 | /// 26 | public partial class UserEditView : WindowBase 27 | { 28 | public User MD; 29 | public UserEditView(User md) 30 | { 31 | InitializeComponent(); 32 | this.Loaded += new RoutedEventHandler(UserEditVM.PageLoad); 33 | MD = md; 34 | } 35 | 36 | /// 37 | /// 加载部门联动岗位 38 | /// 39 | /// 40 | /// 41 | private void cmbDepartment_SelectionChanged(object sender, SelectionChangedEventArgs e) 42 | { 43 | if (cmbDepartment.SelectedValue != null) 44 | { 45 | var collection = new DepartmentBIZ().Select(" and UplevelCode = "+ cmbDepartment.SelectedValue); 46 | if (collection.Count > 0) 47 | { 48 | cmbJob.ItemsSource = collection; 49 | cmbJob.DisplayMemberPath = "Name";//DisplayMemberPath显示项 50 | cmbJob.SelectedValuePath = "Code";//SelectedValuePath绑值项 51 | //view.cmbType.SelectedItem = view.cmbType.Items[0]; 52 | } 53 | else 54 | { 55 | UIHelper.ShowMessageBox("数据获取错误!", false); 56 | } 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Users/RoleBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Users; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Users 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class RoleBIZ 16 | { 17 | private readonly RoleDAL dal = new RoleDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(Role _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(Role _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(Role _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(Role _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(Role _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/PushRuleBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class PushRuleBIZ 16 | { 17 | private readonly PushRuleDAL dal = new PushRuleDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(PushRule _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(PushRule _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(PushRule _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(PushRule _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(PushRule _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Users/UserBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Users; 7 | 8 | namespace ZNC.DataAnalysis.BIZ.Users 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class UserBIZ 15 | { 16 | private readonly UserDAL dal = new UserDAL(); 17 | public ObservableCollection SelectAll() 18 | { 19 | return dal.Select(""); 20 | } 21 | 22 | public ObservableCollection Select(string _sqlwhere) 23 | { 24 | return dal.Select(_sqlwhere); 25 | } 26 | 27 | /// 28 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 29 | /// 30 | /// 31 | /// 32 | /// 33 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 34 | { 35 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 36 | } 37 | 38 | public bool SelectExist(string _sqlwhere) 39 | { 40 | return dal.Select(_sqlwhere).Count > 0; 41 | } 42 | 43 | public int Insert(DataEntiry.User _model) 44 | { 45 | return dal.Insert(_model); 46 | } 47 | 48 | public int Update(DataEntiry.User _model) 49 | { 50 | return dal.Update(_model, "ID"); 51 | } 52 | 53 | public int UpdateBy(DataEntiry.User _model, string _identity) 54 | { 55 | return dal.Update(_model, _identity); 56 | } 57 | 58 | public int InsertOrUpdateBy(DataEntiry.User _model, string _identity) 59 | { 60 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 61 | } 62 | 63 | public int delete(DataEntiry.User _model) 64 | { 65 | return dal.Delete(_model); 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/SystemLogBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class SystemLogBIZ 16 | { 17 | private readonly SystemLogDAL dal = new SystemLogDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(SystemLog _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(SystemLog _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(SystemLog _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(SystemLog _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(SystemLog _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Users/DepartmentBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Users; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Users 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class DepartmentBIZ 16 | { 17 | private readonly DepartmentDAL dal = new DepartmentDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(Department _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(Department _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(Department _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(Department _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(Department _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Users/JurisdictionBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Users; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Users 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class JurisdictionBIZ 16 | { 17 | private readonly JurisdictionDAL dal = new JurisdictionDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(Jurisdiction _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(Jurisdiction _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(Jurisdiction _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(Jurisdiction _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(Jurisdiction _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/AlarmHistoryBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class AlarmHistoryBIZ 16 | { 17 | private readonly AlarmHistoryDAL dal = new AlarmHistoryDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(AlarmHistory _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(AlarmHistory _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(AlarmHistory _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(AlarmHistory _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(AlarmHistory _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/DictionaryBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class DictionaryBIZ 16 | { 17 | private readonly DictionaryDAL dal = new DictionaryDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland,string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(Dictionary _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(Dictionary _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(Dictionary _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(Dictionary _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(Dictionary _model, string _identity) 65 | { 66 | return dal.Delete(_model, _identity); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/SystemModuleBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class SystemModuleBIZ 16 | { 17 | private readonly SystemModuleDAL dal = new SystemModuleDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(SystemModule _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(SystemModule _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(SystemModule _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(SystemModule _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(SystemModule _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Equipment/EquipmentLogBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Equipment; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Equipment 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class EquipmentLogBIZ 16 | { 17 | private readonly EquipmentLogDAL dal = new EquipmentLogDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(EquipmentLog _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(EquipmentLog _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(EquipmentLog _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(EquipmentLog _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(EquipmentLog _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/SystemServiceBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class SystemServiceBIZ 16 | { 17 | private readonly SystemServiceDAL dal = new SystemServiceDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(SystemService _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(SystemService _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(SystemService _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(SystemService _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(SystemService _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/SystemSettingBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class SystemSettingBIZ 16 | { 17 | private readonly SystemSettingDAL dal = new SystemSettingDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(SystemSetting _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(SystemSetting _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(SystemSetting _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(SystemSetting _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(SystemSetting _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Systems/UploadSettingBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Systems; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Systems 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class UploadSettingBIZ 16 | { 17 | private readonly UploadSettingDAL dal = new UploadSettingDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(UploadSetting _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(UploadSetting _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(UploadSetting _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(UploadSetting _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(UploadSetting _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Equipment/EquipmentCardBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Equipment; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Equipment 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class EquipmentCardBIZ 16 | { 17 | private readonly EquipmentCardDAL dal = new EquipmentCardDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(EquipmentCard _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(EquipmentCard _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(EquipmentCard _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(EquipmentCard _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(EquipmentCard _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Equipment/EquipmentBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Equipment; 7 | 8 | namespace ZNC.DataAnalysis.BIZ.Equipment 9 | { 10 | /// 11 | /// AndrewChien 2017/10/22 9:37:11 12 | /// AutomaticCoder代码生成器生成 13 | /// 14 | public class EquipmentBIZ 15 | { 16 | private readonly EquipmentDAL dal = new EquipmentDAL(); 17 | public ObservableCollection SelectAll() 18 | { 19 | return dal.Select(""); 20 | } 21 | 22 | public ObservableCollection Select(string _sqlwhere) 23 | { 24 | return dal.Select(_sqlwhere); 25 | } 26 | 27 | /// 28 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 29 | /// 30 | /// 31 | /// 32 | /// 33 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 34 | { 35 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 36 | } 37 | 38 | public bool SelectExist(string _sqlwhere) 39 | { 40 | return dal.Select(_sqlwhere).Count > 0; 41 | } 42 | 43 | public int Insert(DataEntiry.Equipment _model) 44 | { 45 | return dal.Insert(_model); 46 | } 47 | 48 | public int Update(DataEntiry.Equipment _model) 49 | { 50 | return dal.Update(_model, "ID"); 51 | } 52 | 53 | public int UpdateBy(DataEntiry.Equipment _model, string _identity) 54 | { 55 | return dal.Update(_model, _identity); 56 | } 57 | 58 | public int InsertOrUpdateBy(DataEntiry.Equipment _model, string _identity) 59 | { 60 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 61 | } 62 | 63 | public int delete(DataEntiry.Equipment _model) 64 | { 65 | return dal.Delete(_model); 66 | } 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Equipment/EquipmentHealthBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Equipment; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Equipment 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class EquipmentHealthBIZ 16 | { 17 | private readonly EquipmentHealthDAL dal = new EquipmentHealthDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(EquipmentHealth _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(EquipmentHealth _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(EquipmentHealth _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(EquipmentHealth _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(EquipmentHealth _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Equipment/EquipmentLedgerBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Equipment; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Equipment 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class EquipmentLedgerBIZ 16 | { 17 | private readonly EquipmentLedgerDAL dal = new EquipmentLedgerDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(EquipmentLedger _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(EquipmentLedger _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(EquipmentLedger _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(EquipmentLedger _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(EquipmentLedger _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Equipment/ErrorDictionaryBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Equipment; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Equipment 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class ErrorDictionaryBIZ 16 | { 17 | private readonly ErrorDictionaryDAL dal = new ErrorDictionaryDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(ErrorDictionary _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(ErrorDictionary _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(ErrorDictionary _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(ErrorDictionary _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(ErrorDictionary _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataEntiry/PushRule.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.Serialization; 3 | 4 | namespace ZNC.DataEntiry 5 | { 6 | [Serializable] 7 | [DataContract] 8 | 9 | /// 消息报警推送规则表 10 | public class PushRule : ZNC.Utility.DataModelBase 11 | { 12 | private long id; 13 | 14 | [DataMember] 15 | public long ID 16 | { 17 | get { return id; } 18 | set { base.SetValue(ref id, value, () => this.ID, false); } 19 | } 20 | 21 | private long code; 22 | 23 | [DataMember] 24 | public long Code 25 | { 26 | get { return code; } 27 | set { base.SetValue(ref code, value, () => this.Code, false); } 28 | } 29 | 30 | private string ruleName; 31 | 32 | [DataMember] 33 | public string RuleName 34 | { 35 | get { return ruleName; } 36 | set { base.SetValue(ref ruleName, value, () => this.RuleName, false); } 37 | } 38 | 39 | private long moduleID; 40 | 41 | [DataMember] 42 | public long ModuleID 43 | { 44 | get { return moduleID; } 45 | set { base.SetValue(ref moduleID, value, () => this.ModuleID, false); } 46 | } 47 | 48 | private long pushTypeID; 49 | 50 | [DataMember] 51 | public long PushTypeID 52 | { 53 | get { return pushTypeID; } 54 | set { base.SetValue(ref pushTypeID, value, () => this.PushTypeID, false); } 55 | } 56 | 57 | private string format; 58 | 59 | [DataMember] 60 | public string Format 61 | { 62 | get { return format; } 63 | set { base.SetValue(ref format, value, () => this.Format, false); } 64 | } 65 | 66 | private long enableStatus; 67 | 68 | [DataMember] 69 | public long EnableStatus 70 | { 71 | get { return enableStatus; } 72 | set { base.SetValue(ref enableStatus, value, () => this.EnableStatus, false); } 73 | } 74 | 75 | private string remark; 76 | 77 | [DataMember] 78 | public string Remark 79 | { 80 | get { return remark; } 81 | set { base.SetValue(ref remark, value, () => this.Remark, false); } 82 | } 83 | 84 | } 85 | } -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Equipment/EquipmentMaterialBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Equipment; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Equipment 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class EquipmentMaterialBIZ 16 | { 17 | private readonly EquipmentMaterialDAL dal = new EquipmentMaterialDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(EquipmentMaterial _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(EquipmentMaterial _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(EquipmentMaterial _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(EquipmentMaterial _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(EquipmentMaterial _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Acquisition/AcquisitionSettingBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Acquisition; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Acquisition 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class AcquisitionSettingBIZ 16 | { 17 | private readonly AcquisitionSettingDAL dal = new AcquisitionSettingDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(AcquisitionSetting _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(AcquisitionSetting _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(AcquisitionSetting _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(AcquisitionSetting _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(AcquisitionSetting _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /ZNC.DataAnalysis/BIZ/Acquisition/AcquisitionBaseDataBIZ.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | using System.Linq; 5 | using System.Text; 6 | using ZNC.DataAccess.DA.Acquisition; 7 | using ZNC.DataEntiry; 8 | 9 | namespace ZNC.DataAnalysis.BIZ.Acquisition 10 | { 11 | /// 12 | /// AndrewChien 2017/10/22 9:37:11 13 | /// AutomaticCoder代码生成器生成 14 | /// 15 | public class AcquisitionBaseDataBIZ 16 | { 17 | private readonly AcquisitionBaseDataDAL dal = new AcquisitionBaseDataDAL(); 18 | public ObservableCollection SelectAll() 19 | { 20 | return dal.Select(""); 21 | } 22 | 23 | public ObservableCollection Select(string _sqlwhere) 24 | { 25 | return dal.Select(_sqlwhere); 26 | } 27 | 28 | /// 29 | /// select * from table where 1=1 and 1=1 order by ID desc,ID limit 0,1; 30 | /// 31 | /// 32 | /// 33 | /// 34 | public ObservableCollection SelectTop(string _sqland, string _orderbyidentity) 35 | { 36 | return dal.Select(_sqland + " order by " + _orderbyidentity + " desc," + _orderbyidentity + " limit 0,1"); 37 | } 38 | 39 | public bool SelectExist(string _sqlwhere) 40 | { 41 | return dal.Select(_sqlwhere).Count > 0; 42 | } 43 | 44 | public int Insert(AcquisitionBaseData _model) 45 | { 46 | return dal.Insert(_model); 47 | } 48 | 49 | public int Update(AcquisitionBaseData _model) 50 | { 51 | return dal.Update(_model, "ID"); 52 | } 53 | 54 | public int UpdateBy(AcquisitionBaseData _model, string _identity) 55 | { 56 | return dal.Update(_model, _identity); 57 | } 58 | 59 | public int InsertOrUpdateBy(AcquisitionBaseData _model, string _identity) 60 | { 61 | return _model.ID == 0 ? dal.Insert(_model) : dal.Update(_model, _identity); 62 | } 63 | 64 | public int delete(AcquisitionBaseData _model) 65 | { 66 | return dal.Delete(_model); 67 | } 68 | } 69 | } 70 | --------------------------------------------------------------------------------