Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void AddWorkEvent(AddWorkTocarModel model)
 {
     SendRequest("TM" + JsonConvert.SerializeObject(model));
 }