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
{
///
/// 机器人点位表
///
public class RobotPoint:BindableBase
{
private ObservableCollection _Pallets;
///
/// 托盘集合
///
public ObservableCollection Pallets
{
get { return _Pallets; }
set { SetProperty(ref _Pallets,value); }
}
private ObservableCollection _Points;
///
/// 机器人点位集合
///
public ObservableCollection Points
{
get { return _Points; }
set { SetProperty(ref _Points, value); }
}
public RobotPoint Clone()
{
return JsonConvert.DeserializeObject(JsonConvert.SerializeObject(this)); ;
}
}
}