System.ArgumentException
HResult=0x80070057
Message=数组不是一维数组。
Source=mscorlib
StackTrace:
at System.Array.SetValue(Object value, Int32 index)
at S7.Net.Types.Class.FromBytes(Object sourceClass, Byte[] bytes, Double numBytes, Boolean isInnerClass) in C:\projects\s7netplus-wq17l\S7.Net\Types\Class.cs:line 229
at S7.Net.Plc.ReadClass(Object sourceClass, Int32 db, Int32 startByteAdr) in C:\projects\s7netplus-wq17l\S7.Net\PlcSynchronous.cs:line 134
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)