..
This commit is contained in:
@@ -12,6 +12,7 @@ using System.Net;
|
||||
using System.Management;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using AR;
|
||||
|
||||
namespace Project
|
||||
{
|
||||
@@ -28,7 +29,7 @@ namespace Project
|
||||
/// <summary>
|
||||
/// 읽기/쓰기용이며 구동모터 와 비상정지가 연결됨(USB-ATMEGA 2560)
|
||||
/// </summary>
|
||||
public static arDev.FakePLC PLC;
|
||||
//public static arDev.FakePLC PLC;
|
||||
|
||||
///// <summary>
|
||||
///// 읽기전용이며 Z축 모터와 외부 버튼이 연결됨(USB-ATMEGA 2560)
|
||||
@@ -122,7 +123,7 @@ namespace Project
|
||||
/// <summary>
|
||||
/// 시스템로그
|
||||
/// </summary>
|
||||
public static arUtil.Log log, logagv, logplc, logbms, logcal;
|
||||
public static arUtil.Log log, logagv, logplc, logbms, logxbee;
|
||||
|
||||
public static Boolean bPlayMusic = false;
|
||||
|
||||
@@ -158,12 +159,12 @@ namespace Project
|
||||
logagv = new arUtil.Log();
|
||||
logplc = new arUtil.Log();
|
||||
logbms = new arUtil.Log();
|
||||
logcal = new arUtil.Log();
|
||||
logxbee = new arUtil.Log();
|
||||
|
||||
logagv.FileNameFormat = "{yyyyMMdd}_agv";
|
||||
logplc.FileNameFormat = "{yyyyMMdd}_plc";
|
||||
logbms.FileNameFormat = "{yyyyMMdd}_bms";
|
||||
logcal.FileNameFormat = "{yyyyMMdd}_cal";
|
||||
logxbee.FileNameFormat = "{yyyyMMdd}_cal";
|
||||
|
||||
//popupmessage
|
||||
popup = new MessageWindow();
|
||||
@@ -255,7 +256,7 @@ namespace Project
|
||||
/// <returns></returns>
|
||||
public static Boolean HasHWError()
|
||||
{
|
||||
if (PUB.PLC.IsValid == false) return true;
|
||||
//if (PUB.PLC.IsValid == false) return true;
|
||||
if (PUB.AGV.IsOpen == false) return true;
|
||||
if (PUB.XBE.IsOpen == false) return true;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user