Torna al Thread

while (true) { string uscitedigitali = DO8.ToString() + DO7.ToString() + DO6.ToString() + DO5.ToString() + DO4.ToString() + DO3.ToString() + DO2.ToString() + DO1.ToString(); try { hex = uscitedigitali; ODhex = String.Format("{0:X2}", Convert.ToInt32(hex, 2)); } catch { } // protocollo scrittura protscritt = (">" + indasc + "w" + "FF" + "00" + "00" + ODhex + CheckSum(">" + indasc + "w" + "FF" + "00" + "00" + ODhex) + "!"); }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5