using UnityEngine;
using UniRx;
///
// 该文件根据 SiameseConnections.xlsx 由程序自动生成
///
public class SiameseConnections : CloneObject
{
/////
///// ID
/////
//public string Id { get; set; }
/////
///// 父对象
/////
//public string Parent { get; set; }
/////
///// 图片地址
/////
//public string ImageURL { get; set; }
/////
///// 图片类型
/////
//public UpLoadImageType ImageType { get; set; }
///
/// 类型
///
public string Type { get; set; }
///
/// 编号
///
public string Number { get; set; }
///
/// 范围
///
public string Range { get; set; }
///
/// 位置
///
public string Location { get; set; }
}
public class SiameseConnectionsReactive : CloneObjectReactive, ISetData
{
//protected override SiameseConnections Data { get; set; }
/////
///// ID
/////
//public ReactiveProperty Id { get; set; }
/////
///// 父对象
/////
//public ReactiveProperty Parent { get; set; }
/////
///// 图片地址
/////
//public ReactiveProperty ImageURL { get; set; }
/////
///// 图片类型
/////
//public ReactiveProperty ImageType { get; set; }
///
/// 类型
///
public ReactiveProperty Type { get; set; }
///
/// 编号
///
public ReactiveProperty Number { get; set; }
///
/// 范围
///
public ReactiveProperty Range { get; set; }
///
/// 位置
///
public ReactiveProperty Location { get; set; }
public SiameseConnectionsReactive()
: base()
{
Data = new SiameseConnections();
//Id = new ReactiveProperty();
//Id.Subscribe(value => Data.Id = value);
//Parent = new ReactiveProperty();
//Parent.Subscribe(value => Data.Parent = value);
//ImageURL = new ReactiveProperty();
//ImageURL.Subscribe(value => Data.ImageURL = value);
//ImageType = new ReactiveProperty();
//ImageType.Subscribe(value => Data.ImageType = value);
Type = new ReactiveProperty();
Type.Subscribe(value => ((SiameseConnections)Data).Type = value);
Number = new ReactiveProperty();
Number.Subscribe(value => ((SiameseConnections)Data).Number = value);
Range = new ReactiveProperty();
Range.Subscribe(value => ((SiameseConnections)Data).Range = value);
Location = new ReactiveProperty();
Location.Subscribe(value => ((SiameseConnections)Data).Location = value);
}
public void SetData(SiameseConnections data)
{
base.SetData(data);
Id.Value = data.Id;
Parent.Value = data.Parent;
ImageUrl.Value = data.ImageUrl;
ImageType.Value = data.ImageType;
Type.Value = data.Type;
Number.Value = data.Number;
Range.Value = data.Range;
Location.Value = data.Location;
}
//public SiameseConnections GetData()
//{
// return Data;
//}
}