ABP_【模块代码】_技术说明书_XXX(模板)-V1.0
BPLA编程手册V1.7

+ (连>续)域 递增数字(字母) ...............................3.0 ...... - (连<续)域 递减数字(字母) ...............................3.0 ...... ^ 设置相同标签的打印数量 .................................3.0 ..... & 设置连续域的位置 ...................................3.0 ......
- 2 -
BPL编A程手册
STX 开J启Z/ 关闭蜂鸣器报警功能 ..............................1.7 ..... STX 打J印Y机 纵向打印位置调整 指令 ............................1.7 ...... STX 系K统 扩展指令 ...................................1.7 ...... STX 检k测 RS-2串3口2..................................1.7 ...... STX 进L入 标签格式指令 .................................1.7 ...... STX 设l置镜像打印 ....................................1.7 ...... STX 设M置 寻找标签的最大长度 ..............................1.8 ...... STX 设m置 打印机计量单位为米制 .............................1.8 ...... STX 设N置 打印机计量单位为点制 .............................1.8 ...... STX 设n置 打印机计量单位为英制 ..............................1.8 ..... STX 切o刀 测试 ......................................1.8 ...... STX 打p印 暂停 ......................................1.8 ...... STX 清Q除 所有模块的内容 ................................1.8 ...... STX 清q除 指定模块的内容 .................................1.9 ..... STX 选r择 反射传感器 ...................................1.9 ...... STX 设S置 进纸速度 ....................................1.9 ...... STX 进s入 单缓冲工作模式 .................................1.9 ..... STX 打T印 打印头测试样张 .................................1.9 ..... STX 检t测 RAM模块 ....................................1.9 ...... STX 标U签 域替换 ....................................1.9 ...... STX 设u置 旋转打印 ....................................2.0 ...... STX 返v回 当前版本信息 ..................................2.0 ..... STX 返W回 内存配置信息 .................................2.0 ...... STX 检w测 FLAS模H块 ..................................2.1 ...... STX 从x模 块中删除指定文件 ................................2.1 ..... STX 输Y出 传感器的值 ..................................2.3 ...... STX 打Z印 内部信息和打印头测试样张 ...........................2.3 ...... STX 压z缩 模块 ......................................2.3 ...... * 注释行.........................................2.3 ......
ABP系列压力传感器说明书

ABP SERIESFor Use in Medical VentilatorsBasic Board Mount Pressure SensorsHigh Accuracy, Compensated/Amplified60 mbar to 1.6 bar | 1 psi to 15 psiDigital or Analog Output, Liquid Media CapableDESCRIPTIONThe ABP Series are piezoresistive siliconpressure sensors offering a ratiometricanalog or digital output for readingpressure over the specified full scalepressure span and temperature range.They are calibrated and temperaturecompensated for sensor offset,sensitivity, temperature effects andaccuracy errors (which include non-linearity, repeatability and hysteresis)using an on-board Application Specific Integrated Circuit (ASIC). Calibrated output values for pressure are updated at approximately 1 kHz for analog and2 kHz for digital. All products are designed and manufactured according to ISO 9001 standards.• Dry gases option: The input port is limited to non-corrosive, non-ionic media (e.g., dry air, gases) and should not be exposed to condensation. The gases are limited to media compatible with high temperature polyamide, silicone, alumina ceramic, silicon, gold, and glass.• Liquid media option: Includes an additional silicone-based gel coating to protect the electronics underport P1, which enables use withnon-corrosive liquids (e.g. water and saline) and in applications where condensation can occur. Since port P2 is designed for use with non-corrosive liquids, this option is often suitable for wet-wet differential sensing. DIFFERENTIATION• Enhanced accuracy helps the design engineer fully understand the error in measurement.• Wide supply voltage range offers design flexibility.• Power consumption when utilizing sleep mode option allows for use in battery-powered applications.FEATURES• Measures gage and differentialpressures• Total Error Band (see Figure 1): ±1.5 %FSS• Liquid media option: Allows for wet/wet operation on dual ported devices• Industry-leading long-term stability:±0.25 %FSS• Industry-leading accuracy: ±0.25%FSS BFSL• Wide pressure range: 60 mbar to 1.6 bar |1 psi to 15 psi• As small as 8 mm x 7 mm• High burst pressures (see Table 7)• Calibrated over temperature range of0°C to 50°C [32°F to 122°F]• Operates from a single power supply ofeither 3.3 Vdc or 5.0 Vdc• Output: Ratiometric analog or I2C- orSPI-compatible 12-bit digital• Power consumption: 2 uA typical whenutilizing sleep mode option• Meet IPC/JEDEC J-STD-020D.1 MoistureSensitivity Level 1 requirements• REACH and RoHS compliant• Options: Internal diagnostic function,liquid media, sleep mode, temperatureoutput32350389Issue AVALUE TO CUSTOMERS• Simplifies design-in: Small sizesaves room on the PC board (PCB),or simplifies design in smaller andlower power devices. Meets MoistureSensitivity Level 1 requirements, whichallows for unlimited shelf life whenstored at <30 ºC/85 %RH and, undermost storage conditions, allows forPCB soldering without any materialconcern about solder joint quality dueto aging of the sensor terminals, whichminimizes the concern about agingof the terminals prior PCB assembly.Pressure choices allow engineersto select range required for theirapplication. Leadless SMT, SMT, andDIP package options.• Cost-effective: Small size helpsengineers reduce design andmanufacturing costs while maintainingenhanced performance and reliabilityof the systems they design.• Accurate: Total Error Band (TEB) andwide pressure range enable engineersto optimize system performance byimproving resolution and systemaccuracy. Optional internal diagnosticsvalidate that the sensor readings arecorrect.• Flexible: Supply voltage range, varietyof pressure units, types, and ranges,output options, and wide operatingtemperature range simplify use in theapplication.• Versatile: Wet-media compatibility,sleep mode, and temperatureoutput options make the sensor aversatile choice for Internet of Thingsapplications.• Honeywell Brand: Utilizes proprietaryHoneywell technology, and is protectedby multiple global patents.POTENTIAL MEDICALAPPLICATIONSOxygen concentrators, patientmonitoring, sleep apnea equipment,ventilators/portable ventilators.PORTFOLIOHoneywell offers a varietyof board mount pressuresensors for potential use inmedical and industrial applications.To view the entire product portfolio,click here.FIGURE 1. TOTAL ERROR BANDTotal Error Band (TEB) is a single specification that includes allpossible sources of error. TEB should not be confused with accuracy, which is actually a component of TEB. TEB is the worst error that the sensor could experience. The TEB specification on a datasheet may be confusing. Honeywell uses the TEB specification in its datasheet because it is the most comprehensive measurement of a sensor’s true accuracy. Honeywell also provides the accuracy specification in order to provide a common comparison with competitors’ literature that does not use the TEB specification. Many competitors do not use TEB—they simply specify the accuracy of their device. Theiraccuracy specification, however, may exclude certain parameters. On their datasheet, the errors are listed individually. When combined, the total error (or what would be TEB) can be significant.All Possible Errors2Ratiometricity of the sensor (the ability of the device output to scale to the supply voltage) is achieved within the specified operating voltage.3The sensor is not reverse polarity protected. Incorrect application of supply voltage or ground to the wrong pin may cause electrical failure. 4Operating temperature range: The temperature range over which the sensor will produce an output proportional to pressure.5Compensated temperature range: The temperature range over which the sensor will produce an output proportional to pressure within the specified performance limits.6Temperature output option: Typical temperature output error over the compensated temperature range of 0°C to 50°C. Operation in Sleep Mode may affect temperature output error depending on duty cycle. 7Total Error Band: The maximum deviation from the ideal transfer function over the entire compensated temperature and pressure range. Includes all errors due to offset, full scale span, pressure non-linearity, pressure hysteresis, repeatability, thermal effect on offset, thermal effect on span, and thermal hysteresis.8Full Scale Span (FSS): The algebraic difference between the output signal measured at the maximum (Pmax.) and minimum (Pmin.) limits of the pressure range. (See Figure 2.)9Accuracy: The maximum deviation in output from a Best Fit Straight Line (BFSL) fitted to the output measured over the pressure range at25°C [77°F]. Includes all errors due to pressure non-linearity, pressure hysteresis, and non-repeatability.FIGURE 2. TRANSFER FUNCTION LIMITS 1Analog VersionsDigital Versions1Transfer Function “A” is shown. See Figure 3 for other available transfer functions.0102030405060708090100123456789101.5% Total Error BandP min.P max.Pressure (example unit)O u t p u t (%V s u p p l y )0.8 x Vsupply P max. – P min.Output (V) =x (Pressure applied – P min.) + 0.10 x VsupplyIdeal80%P max. – P min.Output (% of 214 counts) =x (Pressure applied – P min.) + 10%O u t p u t (% o f214 c o u n t s )010203040506070809010012345678910Pressure (example unit)P min.P max.1.5% Total Error BandIdealFIGURE 3. NOMENCLATURE AND ORDER GUIDEFor example, ABPDNNN150PGAA3 defines an ABP Series Amplified Basic Pressure Sensor, DIP package, NN pressure port, dry gases only, no diagnostics, 150 psi gage pressure range, analog output type, 10% to 90% of Vsupply (analog), transfer function,no temperature output, no sleep mode, 3.3 Vdc supply voltage.1 Custom pressure ranges are available. Contact Honeywell Customer Service for more information.2See the explanation of sensor pressure types in Table 4. 3The transfer function limits define the output of the sensor at a given pressure input. By specifying Pmin. and Pmax., the output at Pmin. and Pmax., the complete transfer function of the sensor is defined. See the graphical representations of the transfer function in Figure 3.to the operating pressure range. Exposure to higher pressures may cause permanent damage to the product. Unless otherwise specified this applies to all available pressure ports at any temperature with the operating temperature range.2Burst pressure: The maximum pressure that may be applied to the specified port (P1 or P2) of the product without causing escape of pressure media. Product should not be expected to function after exposure to any pressure beyond the burst pressure.3Common mode pressure: The maximum pressure that can be applied simultaneously to both ports of a differential pressure sensor without causing changes in specified performance.V SUPPLYV SUPPLY V OUT *Ground*Analog output version only.0.1 uF0.001 uF*FIGURE 4. RECOMMENDED FILTER CAPFIGURE 5. DIP PACKAGE DIMENSIONAL DRAWINGS (FOR REFERENCE ONLY: MM [IN].)DIP NN: No portDIP AN:Single axial barbed portFIGURE 5. DIP PACKAGE DIMENSIONAL DRAWINGS (CONTINUED)DIP RN: Single radial barbed portDIP RR: Dual radial barbed ports, same sideFIGURE 6. SMT PACKAGE DIMENSIONAL DRAWINGS (FOR REFERENCE ONLY: MM [IN].)SMT NN: No portSMT AN: Single axial barbed portSMT RN: Single radial barbed portSMT RR: Dual radialbarbed ports, both sides4,0FIGURE 7. LEADLESS SMT PACKAGE DIMENSIONAL DRAWINGS (FOR REFERENCE ONLY: MM [IN].)Leadless SMT NN: No portLeadless SMT AN: Singleaxial barbed port32350389-A-EN | A | 04/20© 2020 Honeywell International Inc. All rights reserved.WARRANTY/REMEDYHoneywell warrants goods of its manu-facture as being free of defective materi-als and faulty workmanship during the applicable warranty period. Honeywell’s standard product warranty applies un-less agreed to otherwise by Honeywell in writing; please refer to your order ac-knowledgment or consult your local sales office for specific warranty details. If war-ranted goods are returned to Honeywell during the period of coverage, Honeywell will repair or replace, at its option, without charge those items that Honeywell, in its sole discretion, finds defective. The foregoing is buyer’s sole remedy and is in lieu of all other warranties, expressed or implied, including those of merchantability and fitness for a particular purpose. In no event shall Honeywell be liable for consequential, special, or indirect damages.While Honeywell may provide applica-tion assistance personally, through our literature and the Honeywell web site, it is buyer’s sole responsibility to determine the suitability of the product in the ap-plication.Specifications may change without notice. The information we supply isbelieved to be accurate and reliable as of this writing. However, Honeywell assumes no responsibility for its use.m WARNINGPERSONAL INJURYDO NOT USE these products as safety or emergency stop devices or in any other application where failure of the product could result in personal injury.Failure to comply with theseinstructions could result in death or serious injury.m WARNINGMISUSE OFDOCUMENTATION•The information presented in this product sheet is for reference only. Do not use this document as a product installation guide.•Complete installation, operation, and maintenance information is provided in the instructions supplied with each product.Failure to comply with theseinstructions could result in death or serious injury.ADDITIONAL MATERIALSThe following associated literature is available at :• Product range guide • Installation instructions • Application noteFOR MORE INFORMATIONHoneywell Sensing and Internet ofThings services its customers through a worldwide network of sales offices and distributors. For application assistance, current specifications, pricing or the nearest Authorized Distributor, visit or call:USA/Canada +1 302 613 4491Latin America +1 305 805 8188Europe +44 1344 238258Japan +81 (0) 3-6730-7152Singapore +65 6355 2828Greater China+86 4006396841HoneywellSensing and Internet of Things 830 East Arapaho Road Richardson, TX 75081 。
abp_面向切面的编程_概述说明以及概述

abp 面向切面的编程概述说明以及概述1. 引言1.1 概述本篇文章将详细介绍ABP面向切面编程(Aspect-Oriented Programming,AOP)的概念和应用。
ABP是一种流行的软件框架,它通过AOP技术提供了一种简洁高效的方式来实现面向切面编程。
1.2 文章结构本文将按照以下结构进行阐述:引言部分对ABP面向切面编程进行概述说明;ABP面向切面编程概述部分介绍了ABP和AOP的基本概念;ABP面向切面编程说明部分探讨AOP的原理、ABP中如何实现AOP以及常用的切点和通知类型;ABP的优势和应用案例分析部分评估了ABP在项目开发中的价值,并提供了一些实际应用中的例子;最后,结论和总结部分回顾了整个文章内容,并展望了ABP在软件开发中的前景与挑战。
1.3 目的本文旨在提供关于ABP面向切面编程概述以及其应用场景、原理等方面全面而清晰地说明,同时对其优势和挑战进行合理评估。
读者可以通过本文深入了解并学习如何在自己的项目中使用ABP进行面向切面编程,从而提高软件开发的效率和质量。
2. ABP面向切面编程概述:2.1 什么是ABP:ABP( Boilerplate)是一个开源的应用程序框架,它基于 和Entity Framework等工具,旨在帮助开发人员快速构建现代化的Web应用程序和服务。
ABP提供了一套通用的架构、模式和最佳实践,使开发过程更加简单高效。
2.2 面向切面编程的概念:面向切面编程(Aspect-Oriented Programming,AOP)是一种软件开发技术,其核心思想是将跨越不同模块或对象的特定功能称为“切面”,并在需要时将其应用到目标代码中。
通过这种方式可以有效地提取出系统中共享的关注点,并将其独立处理,从而实现代码逻辑的解耦和重用。
2.3 ABP中面向切面编程的应用场景:ABP框架使用了AOP作为一个核心特性,在许多场景中广泛应用。
以下是一些ABP中常见的应用场景:- 日志记录:通过AOP可以很方便地对各个模块进行日志记录,例如请求日志、异常日志等,在系统运行过程中帮助定位问题并分析性能。
ABP开发框架前后端开发系列---(1)框架的总体介绍

ABP开发框架前后端开发系列---(1)框架的总体介绍ABP是 Boilerplate的简称,ABP是⼀个开源且⽂档友好的应⽤程序框架。
ABP不仅仅是⼀个框架,它还提供了⼀个最徍实践的基于领域驱动设计(DDD)的体系结构模型。
学习使⽤ABP框架也有⼀段时间了,⼀直想全⾯了解下这个框架的整个来龙去脉,并把想把它使⽤历程整理成⼀个系列出来,不过⼀直没有下笔来写这篇⽂章的开篇,就是希望能够深⼊了解,再深⼊了解⼀些,希望⾃⼰能够理解透彻⼀些,不能误⼈⼦弟,也不想和⽹上千篇⼀律的翻译官⽹的内容,官⽹的英⽂介绍也已经很详细了,于是我觉得还是以实际使⽤的过程进⾏⼀定的整理会更好。
初次了解ABP框架,对它还是⾮常惊艳的,它基本上是.NET 领域架构的集⼤成者,⼏乎囊括了我们.NET领域排的上名的各种技术应⽤,⽽且它本⾝可以⽀持.net framework和.net core两种技术流派,对它的介绍也是⾮常感兴趣。
1)ABP框架的特点我们来⼤概了解下ABP框架涉及到的内容。
依赖注⼊,这个部分使⽤ Castle windsor (依赖注⼊容器)来实现依赖注⼊,这个也是我们经常使⽤IOC来处理的⽅式;Repository仓储模式,已实现了Entity Framework、NHibernate、MangoDB、内存数据库等,仓储模式可以快速实现对数据接⼝的调⽤;⾝份验证与授权管理,可以使⽤声明特性的⽅式对⽤户是否登录,或者接⼝的权限进⾏验证,可以通过⼀个很细粒度的⽅式,对各个接⼝的调⽤权限进⾏设置;数据有效性验证,ABP⾃动对接⼝的输⼊参数对象进⾏⾮空判断,并且可以根据属性的申请信息对属性的有效性进⾏校验;审计⽇志记录,也就是记录我们对每个接⼝的调⽤记录,以及对记录的创建、修改、删除⼈员进⾏记录等处理;Unit Of Work⼯作单元模式,为应⽤层和仓储层的⽅法⾃动实现数据库事务,默认所有应⽤服务层的接⼝,都是以⼯作单元⽅式运⾏,即使它们调⽤了不同的存储对象处理,都是处于⼀个事务的逻辑⾥⾯;异常处理,ABP框架提供了⼀整套⽐较完善的流程处理操作,可以很⽅便的对异常进⾏进⾏记录和传递;⽇志记录,我么可以利⽤Log4Net进⾏常规的⽇志记录,⽅便我们跟踪程序处理信息和错误信息;多语⾔/本地化⽀持,ABP框架对多语⾔的处理也是⽐较友好的,提供了对XML、JSON语⾔信息的配置处理;Auto Mapping⾃动映射,这个是ABP的很重要的对象隔离概念,通过使⽤AutoMaper来实现域对象和DTO对象的属性映射,可以隔离两者的逻辑关系,但是⼜能轻松实现属性信息的赋值;动态Web API层,利⽤这个动态处理,可以把Application Service 直接发布为Web API层,⽽不需要在累赘的为每个业务对象⼿⼯创建⼀个Web API的控制器,⾮常⽅便;动态JavaScript的AJax代理处理,可以⾃动创建Javascript 的代理层来更⽅便使⽤Web Api,这个在Web层使⽤。
HP BBOSS MDB模块详细设计 v1.0

中国移动一级集团客户业务支撑系统二期工程项目HP BBOSS MDB模块详细设计中国惠普有限公司通信及媒体行业软件服务部二○○九年三月文档信息分发名单版本记录产权说明本文件中出现的任何文字叙述、文档格式、插图、照片、方法、过程等内容,除另有特别注明,版权均属中国惠普有限公司和中国移动通信集团公司所有,受到有关产权及版权法保护。
任何个人、机构未经中国惠普有限公司和中国移动通信集团公司双方的书面授权许可,不得复制或引用本文件的任何片断,无论是通过电子形式或非电子形式。
目录产权说明................................................................................................................................................................. I II 目录......................................................................................................................................................................... I V 1.文档介绍.. (1)1.1.文档的目的 (1)1.2.概念和定义 (1)1.3.相关文档 (1)2.模块概述 (2)2.1.系统功能目标 (2)2.2.设计思路 (2)2.3.与外部模块的接口 (2)2.4.总体内部架构 (3)3. MDB模块详细设计 (4)3.1. MDB用例图 (4)3.2.子功能层次图 (4)3.3.子功能层次介绍 (5)3.3.1.内存数据库 (5)3.3.2.定时更新 (5)3.3.3.数据文件生成 (5)3.3.4.外部接口 (5)3.3.5.数据查询客户端 (5)3.3.6.实时更新 (5)3.4.类框架图 (6)3.5.主要功能类的说明 (6)3.5.1. CShmDatabase类说明 (6)3.5.2. CMDBTable类说明 (6)3.5.3. CMDBField类说明 (6)3.5.4. CMDBIndex类说明 (7)3.5.5. CShmMan类说明 (7)4. MDB程序的处理逻辑 (8)4.1.启动说明 (8)4.2.信号量Read/Write互斥流程图 (8)4.3.客户进程和服务进程互斥场景 (8)4.4.文件和配置 (10)4.4.1.目标文件 (10)4.4.2. mdb_main进程的启动 (11)4.4.3.配置文件mdb_serv.cfg (11)4.4.4. .profile文件设置 (12)4.5.内存结构 (12)4.6.停止 (12)5. MDB使用说明 (13)5.1.使用方法 (13)5.2.备注 (13)6.非功能性说明 (15)6.1.日志输出 (15)6.2.如何被HA monitor监控 (15)7. 附录 (16)7.1.附录1:数据库中表定义示例 (16)7.2.附录2:对应的MDB表定义示例 (16)7.3.附录3:对外接口使用范例 (17)图1: MDB系统框图 (3)图2: MDB用例图 (4)图3: MDB子功能层次图 (4)图4: MDB类框架图 (6)图5: 信号量读写互斥流程图 (8)图6: 内存结构图 (12)1.2.文档介绍2.1.文档的目的本详细设计文档主要描述系统中对外接口以及系统内部的实现,各组件的实现以及组件之间的关系,为代码实现人员提供开发依据,并为后期运维人员提供运维指导。
APB PLC样本中 文手册

5.1 APB-22MRA型技术参数…………………………………………………………… 61 5.2 APB-12MRD/APB-22MRD型技术参数………………………………………… 62 5.3 APB-12MTD/APB-22MTD型技术参数………………………………………… 64 5.4 APB-12MGD/APB-22MGD型技术参数………………………………………… 65 5.5 APB-22ERA/APB-22ERD/APB-22ETD/APB-22EGD扩展模块技术参数……… 65 5.6 APB系列产品通用技术参数……………………………………………………… 71
第一章 APB简介
1
第一章 APB简介
APB(Array Programmable Block) 智 能 控 制 器 是 一 种 新 型 的 可 编 程 控 制 器, 它 采 用 功 能 块 FBD(Function Block Diagram) 方式编写程序,比起传统的 PLC 编程(梯形图和指令)方式,更为简单、 易学。利用一套免费的编程软件同时实现对 APB 系列主机和 APB 的人机界面的编程是 APB 系列 产品的主要设计思想。无须连接另外的人机界面,在 APB-SLCD 上可以显示 APB 系列产品的输入 输出状态、计时器、计数器、以及模拟量功能块的设定值和运行值。从而方便操作人员实时监控 PLC 的运行状态。目前,APB 的使用可以遍布工业、农业、家庭等自动化控制等各个方面,真正 的无所不在。
目 录
第一章 APB简介 ……………………………………………………………… 1
1.1 APB的结构 …………………………………………………………………………… 1 1.2 APB系列产品命名规则 ……………………………………………………………… 2 1.3 APB系列产品规格型号 ……………………………………………………………… 2 1.4 APB特性 ……………………………………………………………………………… 3
ABP框架模板开发手册

ABP框架模板开发手册杭州蒙特信息技术有限公司2018年1月目录1ABP框架介绍 (3)1.1ABP简介 (3)1.2ABP多层结构 (3)1.3ABP环境 (5)1.4开发环境 (5)2搭建网站 (5)2.1获取源码 (5)2.2搭建数据库 (6)2.3搭建站点 (8)3模块开发 (9)3.1领域层 (9)3.2应用层 (18)4后台页面 (22)5前台页面 (27)6后台配置....................................................................................................错误!未定义书签。
1ABP框架介绍1.1ABP简介我们总是对不同的需求开发不同的应用。
但至少在某些层面上,一次又一次地重复实现通用的和类似的功能。
如:授权,验证,异常处理,日志,本地化,数据库连接管理,设置管理,审核日志等功能。
所以我们创建架构和最佳实践,如分层和模块架构,DDD,依赖注入等,并尝试开发应用时基于一些约定。
由于所有这些是非常耗时而且很难单独创建并可适用于每个项目,许多公司创建自己的框架,他们用自己的框架能快速开发新应用而且不出错。
但不是所有的公司都是幸运的,大部分公司没有时间,预算和团队来开发好的框架。
他们甚至都没有可能创建一个框架,因为编写文档,培训开发人员和维护框架都是非常困难的。
Boilerplate (ABP) 是一个开源并且有丰富文档的应用框架,开发宗旨是:“为所有公司,所有开发人员,开发出一个通用框架!”,而且不只是一个框架,同时提供一个强大的基于DDD的构架模型和最佳实践。
1.2ABP多层结构一个应用的代码库的分层是一个广为接受的技术,用来减少复杂度和提高代码复用性。
ABP依照DDD理念来分层,在DDD里有4个基本的层:•表示层:为用户提供一个界面。
使用应用层来完成用户交互。
•应用层:表示层与领域层的媒介。
ABP-菜单配置(导航栏选中高亮,高亮并定位当前标题)

ABP-菜单配置(导航栏选中⾼亮,⾼亮并定位当前标题)配置⼀个如上图所⽰的菜单;1.打开⽂件NavigationProvider.cs添加如下代码(如下图所⽰).AddItem(new MenuItemDefinition( PageNames.App.Tenant.Test,//⼀个常量,控制菜单是否被选中 L("Test"),//菜单显⽰名称,在语⾔⽂件中配置 url: "Mpa/Test",//菜单路径 icon: "icon-globe",//菜单图标))2.打开⽂件PageNames.cs【..\MyCompanyName.AbpZeroTemplate.Web\App_Start\Navigation\PageNames.cs】在代码中添加⼀个常量public static class Tenant{public const string Dashboard = "Dashboard.Tenant";public const string Settings = "Administration.Settings.Tenant";public const string Test = "Test";//这⾥是添加的常量}3.打开语⾔⽂件AbpZeroTemplate-zh-CN.xml【..\MyCompanyName.AbpZeroTemplate.Core\Localization\AbpZeroTemplate\AbpZeroTemplate-zh-CN.xml】在最后添加⼀个键值对<text name="Test" value="测试" />保存⽣成,刷新页⾯即可显⽰,现在点击菜单会报404错误,这是因为我们还没有添加对应的控制器在【..\MyCompanyName.AbpZeroTemplate.Web\Areas\Mpa\Controllers】下添加⼀个Test控制器,并创建Index视图4.Index视图修改此时Index视图中的代码改成这样@using MyCompanyName.AbpZeroTemplate.Web.Navigation@{ViewBag.CurrentPageName = PageNames.App.Tenant.Test;//上⾯所定义就是这个常量,作⽤就是选中菜单时会⾼亮,并定位到当然这个菜单}<h2>测试页⾯</h2>。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
XXX增强
目录
版本信息
版本
日期
作者
修改注释
1.0
2015.12.08
创建
文档确认
姓名
职务\角色
签字
日期
XXX项目经理
(手签)
迪立维项目经理
开发组长
开发人员
1
需求提交人
张三
部 门
SD
联系电话
需求日期
2014-02-21
程序名称
事务代码
报表标题
地磅系统增强
文档编号
ABP_MM_0015
模块
2
主要流程图
详细程序逻辑备注和技术重点指引:
1.创建函数:ZFM_CHECK_ZCHH,检查船号
2.在zmme01 & zmme02添加PAI。
3.Moldel:check_all
4.源码:
5.
"判断必须为中文\英文\数字
CONDENSEgw_bdsjb-zchh.
CALL FUNCTION'ZFM_CHECK_ZCHH'
状态(New/Modified)
对象说明
详细信息(一):
Field Name
Description
Key
Data Element
Domain
Type
Length
Check Table
5
MM
填写日期
2014-12-21
评定重要性
高中低
使用频率
每天每周每月
每半年每年其它:
数据量
大中小
数据来源
系统内部系统外部其它:
运行模式
前台后台
需求类型
ReportsInterfacesConversions
EnhancementsForms其它 :
表单纸张
如:A4纵向 A4 横向
目的及概要描述
判断必须为中文\英文\数字
EXPORTING
im_zchh=gw_bdsjb-zchh
IMPORTING
ex_return=lv_return.
IFlv_return <>'X'.ቤተ መጻሕፍቲ ባይዱ非法字符
MESSAGE'船号不允许非法字符'TYPE'E'.
ENDIF.
3
4
概要信息:
对象名称
对象类型(Table/View/Index/Structure)