static void Main(string[] args) { BizDevice bizDevices = new BizDevice { }; bizDevices.Heartbeat(); bizDevices.BizFunction1(new MethodInput { Input1 = 0, Input2 = -1 }); }