..
This commit is contained in:
@@ -137,34 +137,11 @@ namespace Project.ViewForm
|
||||
private void fAuto_Load(object sender, EventArgs e)
|
||||
{
|
||||
ctlAuto1.dev_agv = PUB.AGV;
|
||||
// ctlAuto1.dev_plc = PUB.PLC;
|
||||
ctlAuto1.dev_bms = PUB.BMS;
|
||||
ctlAuto1.dev_xbe = PUB.XBE;
|
||||
|
||||
PUB.AGV.DataReceive += AGV_DataReceive;
|
||||
|
||||
|
||||
|
||||
//var fn = string.Empty;
|
||||
//if (files.Any() == false)
|
||||
//{
|
||||
// fn = AR.UTIL.MakePath("sample.route");
|
||||
//}
|
||||
//else if (files.Count() == 1)
|
||||
//{
|
||||
// fn = files.First().FullName;
|
||||
//}
|
||||
//if (fn.isEmpty() == false)
|
||||
//{
|
||||
// var fi = new System.IO.FileInfo(AR.UTIL.CurrentPath + "\\sample.route");
|
||||
// if (fi.Exists)
|
||||
// {
|
||||
// PUB.log.Add($"autoload : {fi.FullName}");
|
||||
// var rlt = PUB.mapctl.LoadFromFile(fi.FullName, out string errmsg);
|
||||
// if (rlt == false) AR.UTIL.MsgE(errmsg);
|
||||
// }
|
||||
//}
|
||||
|
||||
this.timer1.Start();
|
||||
|
||||
// Set Run Mode
|
||||
|
||||
Reference in New Issue
Block a user