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.
lj_plc/DataBlockHelper/DBHelpers/DB2110WriteHelper.cs

30 lines
599 B
C#

6 months ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataBlockHelper.DBHelpers
{
public class DB2110WriteHelper
{
private static readonly string DbName = "DB2110";
6 months ago
public static void WriteA()
6 months ago
{
var siemensS7Net = PlcConnect.Instance;
6 months ago
siemensS7Net.Write($"DB2107.11.1",true);
6 months ago
6 months ago
}
public static void WriteB()
{
var siemensS7Net = PlcConnect.Instance;
6 months ago
siemensS7Net.Write($"DB2107.11.2", true);
6 months ago
}
}
}