public void AddWorkToCar(int model, int transmission, int body, int engine, int engineType, string WorkName, int periodic, int distance) { AddWorkTocarModel req = new AddWorkTocarModel { Body = body, Distance = distance, Engine = engine, EngineType = engineType, Model = model, Periodic = periodic, Transmission = transmission, WorkName = WorkName }; CarBaseHandler.Instance.AddWorkEvent(req); }
public void AddWorkEvent(AddWorkTocarModel model) { SendRequest("TM" + JsonConvert.SerializeObject(model)); }