You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
843 B
C#
34 lines
843 B
C#
using Newtonsoft.Json;
|
|
using Rs.Framework;
|
|
using Rs.MotionPlat.Commom;
|
|
using Rs.MotionPlat.Flow;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Rs.MotionPlat
|
|
{
|
|
public partial class Form1 : Form
|
|
{
|
|
public Form1()
|
|
{
|
|
InitializeComponent();
|
|
string msg = File.ReadAllText("c://1.txt");
|
|
SchedulingMaterial sm = JsonConvert.DeserializeObject<SchedulingMaterial>(msg);
|
|
LoadAndUnloadTask.Instance.Add(sm);
|
|
}
|
|
|
|
private void slotOffsetCtl1_SlotValueChanged(int arg1, string arg2, double arg3)
|
|
{
|
|
Msg.ShowInfo(arg1+arg1+ arg2+arg3);
|
|
}
|
|
}
|
|
}
|