示例#1
0
        private void test6( )
        {
            OperateResult <UserType> read = melsecSerial.ReadCustomer <UserType>("D100");

            if (read.IsSuccess)
            {
                UserType value = read.Content;
            }
            // write value
            melsecSerial.WriteCustomer("D100", new UserType( ));

            melsecSerial.LogNet = new HslCommunication.LogNet.LogNetSingle(Application.StartupPath + "\\Logs.txt");
        }