MES系统概述

MES系统是一套面向制造企业车间执行层的生产信息化管理系统。为企业提供包括制造数据管理、计划排成管理、生产调度管理、库存管理、质量管理、人力资源管理、工作中心/设备管理、工具工装管理、采购管理、成本管理、项目看板管理、生产过程控制、底层数据集成分析、上层数据集成分解等管理模块,为企业打造一个扎实、可靠、全面、可行的制造协同管理平台

系统架构

项目代码

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhaoxi.MES.Frame.Models;namespace Zhaoxi.MES.Frame.ViewModels
{public class DeviceViewModel{public bool MonitorState { get; set; }public List<DeviceItemModel> DeviceList { get; set; }public DeviceViewModel(){DeviceList = new List<DeviceItemModel>();App.MqttMessageReceived += App_MqttMessageReceived;DeviceItemModel dim = new DeviceItemModel();// 网络图片dim.Image = "pack://application:,,,/Zhaoxi.MES.Frame;component/Assets/Images/Device/d_1.png";dim.LightType = Controls.LightState.Fault;dim.Title = "加工中心";dim.Properties.Add(new DevicePropertyItemModel { PropName = "运行状态", PropValue = "故障" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "工作模式", PropValue = "AUTO" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "进给倍率", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "主轴转速", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "主轴负载", PropValue = "0 r/min" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "程序编号", PropValue = "7014" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "机床坐标-X", PropValue = "-500 mm" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "机床坐标-Y", PropValue = "-120.002 mm" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "机床坐标-Z", PropValue = "-1.525 mm" });DeviceList.Add(dim);dim = new DeviceItemModel();dim.Image = "pack://application:,,,/Zhaoxi.MES.Frame;component/Assets/Images/Device/d_2.png";dim.LightType = Controls.LightState.Warning;dim.Title = "电火花";dim.Properties.Add(new DevicePropertyItemModel { PropName = "L编号", PropValue = "31" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "N编号", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "B编号", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "停止编号", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "程序错误", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "运行错误", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "顺序错误", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "启动ON时间", PropValue = "0时:0分:0秒" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "加工ON时间", PropValue = "0时:0分:0秒" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "E条件编号", PropValue = "909002" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "设备机械坐标", PropValue = "暂无" });DeviceList.Add(dim);dim = new DeviceItemModel();dim.Image = "pack://application:,,,/Zhaoxi.MES.Frame;component/Assets/Images/Device/d_3.png";dim.LightType = Controls.LightState.Run;dim.Title = "机器臂";dim.Properties.Add(new DevicePropertyItemModel { PropName = "运行状态", PropValue = "运行" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "工作模式", PropValue = "手动" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "关节轴J1", PropValue = "-97.979°" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "关节轴J2", PropValue = "-31.493°" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "关节轴J3", PropValue = "-24.517°" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "关节轴J4", PropValue = "-0.032°" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "关节轴J5", PropValue = "-34.038°" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "关节轴J6", PropValue = "-8.532°" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "关节轴J7", PropValue = "3182.790°" });DeviceList.Add(dim);dim = new DeviceItemModel();dim.Image = "pack://application:,,,/Zhaoxi.MES.Frame;component/Assets/Images/Device/d_4.png";dim.LightType = Controls.LightState.None;dim.Title = "三坐标";dim.Properties.Add(new DevicePropertyItemModel { PropName = "运行状态", PropValue = "运行" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "工作模式", PropValue = "手动" });DeviceList.Add(dim);dim = new DeviceItemModel();dim.Image = "pack://application:,,,/Zhaoxi.MES.Frame;component/Assets/Images/Device/d_5.png";dim.LightType = Controls.LightState.Run;dim.Title = "线切割";dim.Properties.Add(new DevicePropertyItemModel { PropName = "运行状态", PropValue = "运行" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "工作模式", PropValue = "自动" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "停止编号", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "程序错误", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "运行错误", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "顺序错误", PropValue = "0" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "启动设定为ON的时间", PropValue = "0时:0分:0秒" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "加工设定为ON的时间", PropValue = "0时:0分:0秒" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "加工条件(E条件)编号", PropValue = "909002" });dim.Properties.Add(new DevicePropertyItemModel { PropName = "设备机械坐标", PropValue = "暂无" });DeviceList.Add(dim);}// 如果小伙伴对事件委托不理解    加强 一下C#基础private void App_MqttMessageReceived(object? sender, string e){// 演示DeviceList[0].Properties[3].PropValue = e;//Debug.WriteLine(e);// 真实对接    作业 //e  就是一个Json字符串  反序列化 -》 对象 }}
}
using System;
using System.Collections.Generic;
using System.DirectoryServices.ActiveDirectory;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zhaoxi.MES.Frame.Models;
using Zhaoxi.MES.Frame.Base;
using System.Collections.ObjectModel;
using System.Reflection;namespace Zhaoxi.MES.Frame.ViewModels
{public class MainViewModel:NotifyBase{// 菜单 集合public List<MenuItemModel> TreeList { get; set; }// 页面 集合public ObservableCollection<PageItemModel> Pages { get; set; }= new ObservableCollection<PageItemModel>();public MainViewModel(){#region 菜单初始化TreeList = new List<MenuItemModel>();{MenuItemModel tim = new MenuItemModel();tim.Header = "工艺设计";//  XAML里使用tim.IconCode = "\ue610"; // 字体图标编码,阿里的Iconfont平台打包的图标库TreeList.Add(tim);tim.Children.Add(new MenuItemModel{Header = "加工工艺",TargetView = "BlankPage",OpenViewCommand = new Command<MenuItemModel>(OpenView)});tim.Children.Add(new MenuItemModel{Header = "EBOM",TargetView = "BlankPage",OpenViewCommand = new Command<MenuItemModel>(OpenView)});tim.Children.Add(new MenuItemModel{Header = "设备看板",TargetView = "DevicePage",OpenViewCommand = new Command<MenuItemModel>(OpenView)});tim.Children.Add(new MenuItemModel{Header = "PBOM",TargetView = "PBomPage",OpenViewCommand = new Command<MenuItemModel>(OpenView)});MenuItemModel subMenu = new MenuItemModel();subMenu.Header = "二级菜单";subMenu.Children.Add(new MenuItemModel{Header = "三级菜单"});tim.Children.Add(subMenu);}#endregion#region 测试  页面初始// 所有数据集合都可以 VM中进行控件 (增加和删除)//Pages = new ObservableCollection<PageItemModel>();//Pages.Add("AAAA");//Pages.Add("BBBB");//Pages.Add("CCCC");//Pages.Add("DDDD");#endregion}private void OpenView(MenuItemModel menu){// 两个问题:// 1、每点击一次都会有一个新的页面!  解决方案:从集合中判断是否存在// 2、新打开一个页面后,不能马上显示 //MenuItemModel mim = menu as MenuItemModel;// 需要进行页面的打开 //Pages.Add("EEEE");var page = Pages.ToList().FirstOrDefault(p => p.Header == menu.Header);if (page == null){Type type = Assembly.GetExecutingAssembly().GetType("Zhaoxi.MES.Frame.Views.Pages." + menu.TargetView);object p = Activator.CreateInstance(type);Pages.Add(new PageItemModel{Header = menu.Header,PageView = p,IsSelected = true,CloseTabCommand = new Command<PageItemModel>(ClosePage)});}elsepage.IsSelected = true;}private void ClosePage(PageItemModel menu){Pages.Remove(menu);}}
}

智能制造MES系统框架相关推荐

  1. 2022年10月 基于WPF的智能制造MES系统框架-菜单栏的设计

    文章目录 一.前言 1.什么是智能制造MES系统 2.MES系统的主要功能 3.MES系统解决的问题 二.菜单栏的设计 三.效果 一.前言 1.什么是智能制造MES系统 MES系统是一套面向制造企业车 ...

  2. 智能制造MES系统的主要内容有哪些?系统有什么作用?

    制造企业非常关注实现生产过程中的实时采集.提高生产排产的效率.实现制造过程的追溯.提升工人与设备的绩效.保证产品质量等问题.调研数据显示:92%的企业渴望加强对生产过程的控制. 大多数制造企业已经逐渐 ...

  3. 基于EasyDarwin流媒体云平台的智能视频监控系统框架

    基于EasyDarwin流媒体云平台的智能视频监控系统框架 EasyDarwin云平台作为国内较有影响力的开源流媒体平台,集流媒体分发,录像,信令交互为一体,目前已经被广泛应用到监控互联网各个领域:从 ...

  4. 「科普」一文读懂生产制造MES系统

    谈及MES必须先谈生产,那什么是生成呢? 生产管理是通过对生产系统的战略计划.组织.指挥.实施.协调.控制等活动,实现系统的物质变换.产品生产.价值提升的过程. 生产管理是企业价值链的主要环节,是构成 ...

  5. 智能工厂MES系统“超级大脑”,助力数字化工厂生产流程

           随着现代工业的不断发展,数字化工厂已经成为了生产制造的新趋势.而在实现数字化转型过程中, MES系统则显得尤为重要.        那么,MES系统究竟能为数字化工厂带来什么神奇的魔力呢 ...

  6. 智能制造 | 机器视觉系统,直击纺织行业人工质检痛点难点,提升缺陷检出精准度至99.9%

    梭子来回穿过其间,双脚规律轻踩踏板,机杼声悠悠然传过耳边,这似乎是大多数人对于<木兰辞>中"唧唧复唧唧"的概念.古时候,纺织是重要的农业活动,现如今,纺织服装面料产品的 ...

  7. 数字化智能工厂 工业4.0智能制造 MES服务商珠海先达智控

    一.前言 近年来,随着"工业4.0"的热潮从德国涌向全球,越来越多的制造企业正决意将未来智能制造的愿景变为现实,以便能在数字化的工业变革中尽早谋篇布局.全球各主要经济体都在大力推进 ...

  8. 仓储rfid文件_RFID技术在智能制造模具管理中的应用

    RFID技术在智能制造模具管理中的应用是指生产企业的模具管理中在使用点位和仓库内部署UR6258工业读写器.在模具和模具库位上安装UT5457电子标签,对模具从入库到生产到报废的全生命周期进行管理.整 ...

  9. mes智能制造管理系统软件

    mes智能制造管理系统软件 华盛恒辉制造业信息化建立走到明天,大多数企业曾经逐步地看法到消费技术抢先和制造进程管理高效是其本身开展的关键环节.随着智能制造逐步深化,MES管理系统曾经成为企业迈向智造转 ...

最新文章

  1. unsupported operand type(s) for + NoneType and int
  2. Ubuntu nginx 配置实例
  3. 40岁“老程序员”的“辛酸”自述:
  4. 插入脚注把脚注标注删掉_地狱司机不应该只是英国电影历史数据中的脚注,这说明了为什么...
  5. 如何将Jupyter Notebook连接到远程Spark集群并每天运行Spark作业?
  6. backtype.storm.generated.InvalidTopologyException:null问题的解决
  7. 主机甲采用停等协议向主机乙_习题
  8. eclisep安装反编译插件jadClipse
  9. 1015. 德才论 (25)-PAT乙级真题
  10. java修改头像代码_用户修改头像功能
  11. MyEclipse简介
  12. 850pro测试软件,三星850Pro ssd可靠性测试 6000次P/E
  13. android 软解8k视频,一种基于CPU的8K超高清视频高速解码方法与流程
  14. 怎么做国外问卷调查站点查
  15. 【Unity】判断视频是否播放完毕
  16. 电脑做照片视频的软件用哪个?3步制作高清照片视频,超多酷炫转场效果
  17. kube-apiserver源码-动态准入控制 admission webhook
  18. 洛谷P5266 【深基17.例6】学籍管理
  19. 单片机系统怎么用c语言复位,第11章 单片机小知识(复位 )
  20. 突发,国内技术问答社区SegmentFault竟然被ONES收购

热门文章

  1. 写公众号一个月关注量破900,聊聊我的感受
  2. 成功需要培养独特的眼光,芸赞通天下沈杨
  3. 每个男人心中都有一段《西西里的美丽传说》
  4. Rocketmq广播消费模式怎么扩展消费者
  5. [Neo4j] CQL命令
  6. chrome模拟手机功能
  7. c+primer 学习笔记 3
  8. 帮优质粉丝脱单|【英国女】No.33|22岁,硕士,喜欢旅行爱好做饭,消费者心理学...
  9. AWS CLI 安装配置
  10. chrome无法检查更新解决方法