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.
30 lines
599 B
C#
30 lines
599 B
C#
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";
|
|
|
|
public static void WriteA()
|
|
{
|
|
var siemensS7Net = PlcConnect.Instance;
|
|
|
|
siemensS7Net.Write($"DB2107.11.1",true);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void WriteB()
|
|
{
|
|
var siemensS7Net = PlcConnect.Instance;
|
|
siemensS7Net.Write($"DB2107.11.2", true);
|
|
}
|
|
}
|
|
}
|