写了一半没写完,备份一下吧
来源:互联网 发布:8月份进出口数据 编辑:程序博客网 时间:2024/04/23 20:40
PMS User Guide
PMS is an automaticsystem for factories to manage production missions. Its aims to helpthe company to reduce the paper cost. The following guide is to helpthe users to use the system more easily.
From the technology,PMS consists three parts as follows:
1.PMS Server
The PMS servercontains the MySQL database server and the file server. MySQL is usedto store the data includes user information, template table xml dataand necessary link data to make the components can connect easily.
The File Server isa basic data transfer service, it is used to implement the fileupload, download, delete, etc.
2.PMS Manager
PMS Manager is usedby the system manager, have all the permissions. It is split-tedmultiple sections, each section to handle its data processing.
UserManager
Functions:
A.Create/modify/delete/query role, assign permission bits.
B.Create/modify/delete/query user, a user must be assigned with a role,of course a role can hold many users.
Detail:
In system initialperiod, its only has one role and one user, admin and admin. It willbe created automatically at the beginning. It is necessary exist tomake the system running. It cannot be deleted.
There are sometables in database to hold different information. Shown as following:
Table Name
Function
Memo
RoleTable
Store the role name, role permission bits.
RoleName is the key value, cannot be same or duplicate.
UserTable
Store the user name, belongs to which role.
User's creator is very important, the task will be posted toits creator at default.
Table-1(User manager related data table)
TemplateEditor
TemplateEditorisused to create user fill excel table.Itis a two dimension tablelikeexcel.Systemmanager should use it to design production inspection table.Itsupports multiple features.Eachtable contains 64 rows and 64 columns cells at maximum.Usercan merge and split cellstomake the table more beautiful and readable.Cellis a basic unit, it has many attributes, the following list showsthem.
Attribute Name
Specification
Type
Memo
Cell Type
Indicates a cell's content data type.
String
Numeric
Boolean
Image
String type can hold everything.
Numeric type is used to limit the user input, ithas minimum value, maximum value and tolerance value.
Boolean type is shown as a check box to receivethe yes or no value.
Image type is used to insert picture.
Default is String.
Cell Data
Hold the user input data.
As above.
Cell Alignment
Restrict the text's alignment.
Horizontal
Vertical
Horizontal: Left, Center, Right.
Vertical: Top, Center, Right.
Cell Lock
Lock the cell cannot be modified.
If the lock attribute is set, the cell cannot bemodified.
Cell Foreground Color
Set the font color.
Support the Alpha channel.
Cell Background Color
Set the background color.
Support the Alpha channel.
Cell Font
Set the font.
Font Family, Font Size, Bold, Italic.
Cell Frame
Set the cell border frame.
Top, Bottom, Left, Right (Border Color).
Table-2(Cell attributes)
Table data structure
Thetableis stored in database using XML format.Toreduce the data size, I parse the Microsoft Excel File Format.It'sarranged in XMLformat.Theengineers is so smart, they create a style format list at the top ofthe file, each style has its own name. Astyle contains all the information of a cell.Cellsare stored row by row.Eachcell has a style IDrelatedinto the style format list.Whenthe GUI renders the table, it fetchesthe specified style from the style list by the style ID. Sothe final table XML data format is generated:
<Sheet>
<Styles>
<StylestyleName=”style1”>
<Alignmenthorizontal=”left”vertical=”center”></Alignment>
<LockisLock=”1”></Lock>
<Fontfamily=”Serif”size=”14”bold=”0”italic=”0”></Font>
<Foregroundcolor=”255,0,0”></Foreground>
<Backgroundcolor=”255,0,0”></Background>
</Style>
</Styles>
</Sheet>
3.PMS Staff
- 写了一半没写完,备份一下吧
- 刚刚写了一个模拟的在线EXCEL,好多功能还没写完,先开源了。
- 万恶写完的都没了
- 没写完
- 开始写IT博客了,纪念一下吧!
- 悲剧 未写完,不想写了
- 自己写的代码终于写完了
- 很长时间没写了
- 好久没写了
- 好久没写了
- 好久没写了
- 好久没写了
- 好久没写了~~
- 很久没写了....
- 好久没写了
- 好久没写了
- 两天没写了。。。
- 好久没写了
- delete p和delete[] p的区别
- Android 的动作、广播、种别等标识大全
- BAT脚本中比较大小,及if else使用
- Android学习笔记(8)——Sqlite数据库的事务问题
- jsoup httpclient 爬取网页并下载google图标
- 写了一半没写完,备份一下吧
- phpcms v9 开启ucenter整合,会员登录、注册是提示操作失败
- POJ 2954 || Triangle ( pick定理
- ios懒人笔记应用源码
- 《Cortex-CM3权威指南》——实现Cortex-CM3的整体风景
- 一次非常有意思的sql优化经历
- jQuery 获取屏幕高度、宽度
- IOS 与 PHP 通信加密,使用AES 128 CBC no padding
- SAP接口程序方式说明(品尝ABAP的味道)