| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using Newtonsoft.Json;
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Collections.ObjectModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using TeamAAS_VP.Interfaces;
- namespace TeamAAS_VP.Models
- {
- /// <summary>
- /// 机器人点位表
- /// </summary>
- public class RobotPoint:BindableBase
- {
- private ObservableCollection<Pallet> _Pallets;
- /// <summary>
- /// 托盘集合
- /// </summary>
- public ObservableCollection<Pallet> Pallets
- {
- get { return _Pallets; }
- set { SetProperty(ref _Pallets,value); }
- }
- private ObservableCollection<MultipleRobotPoint> _Points;
- /// <summary>
- /// 机器人点位集合
- /// </summary>
- public ObservableCollection<MultipleRobotPoint> Points
- {
- get { return _Points; }
- set { SetProperty(ref _Points, value); }
- }
- public RobotPoint Clone()
- {
- return JsonConvert.DeserializeObject<RobotPoint>(JsonConvert.SerializeObject(this)); ;
- }
- }
- }
|