47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
using Hermes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WeldingCommon.Devices
|
|
{
|
|
public partial class PLCController
|
|
{
|
|
//public int SetAutoComplete()
|
|
//{
|
|
// //if (this is ICommonPLCAddress plcInterface) {
|
|
// // return WriteBit(plcInterface.GetAutoCompleteAddress(), true);
|
|
// //}
|
|
|
|
// //Log.E("PLCController is not implemented ICommonPLCAddress");
|
|
// //return -1;
|
|
|
|
// if (AutoCompleteAddr < 0) {
|
|
// Log.E("SetAutoComplet Address is not defined");
|
|
// return -1;
|
|
// }
|
|
|
|
// return WriteBit(AutoCompleteAddr, true);
|
|
//}
|
|
|
|
//public int SetManualComplete()
|
|
//{
|
|
// //if (this is ICommonPLCAddress plcInterface) {
|
|
// // return WriteBit(plcInterface.GetManualCompleteAddress(), true);
|
|
// //}
|
|
|
|
// //Log.E("PLCController is not implemented ICommonPLCAddress");
|
|
// //return -1;
|
|
|
|
// if (ManualCompleteAddr < 0) {
|
|
// Log.E("SetManualComplet Address is not defined");
|
|
// return -1;
|
|
// }
|
|
|
|
// return WriteBit(ManualCompleteAddr, true);
|
|
//}
|
|
}
|
|
}
|