Пример #1
0
        public override Empty TestComplex2State(Complex2Input input)
        {
            State.BoolInfo.Value  = input.BoolData.BoolValue;
            State.Int32Info.Value = input.Int32Data.Int32Value;

            return(new Empty());
        }
Пример #2
0
        public override Complex2Output TestComplex2State(Complex2Input input)
        {
            State.BoolInfo.Value  = input.BoolData.BoolValue;
            State.Int32Info.Value = input.Int32Data.Int32Value;

            return(new Complex2Output()
            {
                BoolData = new BoolOutput()
                {
                    BoolValue = State.BoolInfo.Value
                },
                Int32Data = new Int32Output()
                {
                    Int32Value = State.Int32Info.Value
                }
            });
        }