35 lines
840 B
C#
35 lines
840 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Project
|
|
{
|
|
public class PositionData
|
|
{
|
|
public int index { get; set; }
|
|
public string title { get; set; }
|
|
public double value { get; set; }
|
|
public double speed { get; set; }
|
|
public double acc { get; set; }
|
|
public double dcc { get; set; }
|
|
public PositionData()
|
|
{
|
|
index = -1;
|
|
title = string.Empty;
|
|
value = 0.0;
|
|
this.speed = 0.0;
|
|
this.acc = 100.0;
|
|
this.dcc = 0.0;
|
|
}
|
|
public PositionData(int idx_, string title_, double value_)
|
|
{
|
|
this.index = idx_;
|
|
this.title = title_;
|
|
this.value = value_;
|
|
}
|
|
}
|
|
|
|
}
|