28 lines
678 B
C#
28 lines
678 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
using System;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Simulator.Data
|
||
|
|
{
|
||
|
|
[Serializable]
|
||
|
|
public class RackDataClass : ComponentDataBase
|
||
|
|
{
|
||
|
|
public string name;
|
||
|
|
public string label;
|
||
|
|
//public List<string> inputs=new List<string>();
|
||
|
|
//public List<string> outputs=new List<string>();
|
||
|
|
public rack_layout rack_layout=new rack_layout();
|
||
|
|
public string connected_input_node;
|
||
|
|
}
|
||
|
|
|
||
|
|
[Serializable]
|
||
|
|
public class rack_layout
|
||
|
|
{
|
||
|
|
public float x;
|
||
|
|
public float y;
|
||
|
|
public float z;
|
||
|
|
public float x_length;
|
||
|
|
public float y_length;
|
||
|
|
public float z_length;
|
||
|
|
}
|
||
|
|
}
|