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/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjProportional/ProportionalDB.cs

18 lines
478 B
C#

1 year ago
using System.Runtime.CompilerServices;
using Mesnac.Action.ChemicalWeighing.LjMaterial;
namespace Mesnac.Action.ChemicalWeighing.LjProportional
{
public class ProportionalDB:DBHelp
{
//select Id, Name, PV, SV from ProportionalSetting
public static void Update(ProportionalSettingView view)
{
string sql = $" update ProportionalSetting set SV='{view.SV}' where id={view.Id}";
ExecuteNonQuery(sql);
}
}
}