Пример #1
0
        public static void Ch3ModifyDog()
        {
            Ch3DogStruct dog = new Ch3DogStruct();

            if (Ch3Native.Ch3ModifyDogStruct(dog) == false)
            {
                throw new Exception("Ch3_ModifyDog test fail");
            }
        }
Пример #2
0
        public static void Ch3ModifyDog2()
        {
            Ch3Dog dog    = new Ch3Dog();
            double dValue = 123;
            int    iValue = 123;

            if (Ch3Native.Ch3ModifyDog2(iValue, ref dValue, dog) == false)
            {
                throw new Exception("Ch3_ModifyDog test fail");
            }
        }