private void test6( ) { OperateResult <UserType> read = fujiSPB.ReadCustomer <UserType>("D100"); if (read.IsSuccess) { UserType value = read.Content; } // write value fujiSPB.WriteCustomer("D100", new UserType( )); fujiSPB.LogNet = new HslCommunication.LogNet.LogNetSingle(Application.StartupPath + "\\Logs.txt"); }