Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "../stdafx.h"
- #include "Algorithm.hpp"
- //#include "Communicate.hpp"
- #include <string>
- using namespace std;
- using namespace System;
- namespace Algorithm
- {
- char *map_file;
- char *map_pkt_file;
- char *Storage_file;
- uint16_t *map_size_xya; //x,y + aktywne komórki
- struct Map_struct **Map;
- uint32_t *Map_RFID;
- struct Storage_struct **Storage;
- uint8_t Storage_Amount;
- uint16_t Lifter_X, Lifter_Y, Lifter_Z; // 0-parter,1-pietro | 0-lewo,1-prawo | 0-tyl, 1-przo
- uint32_t ***Lifter;
- uint16_t Lifter_Cell_ID;
- Cart_struct **Cart_tab;
- uint16_t Cart_amount;
- uint8_t Init()
- {
- map_file = "Map/mapa.csv";
- map_pkt_file = "Map/mapaPkt.csv";
- Storage_file = "Map/magazyn.csv";
- map_size_xya = (uint16_t *)calloc(3, sizeof(uint16_t));
- map_size_xya[0] = 1;
- map_size_xya[1] = 1;
- map_size_xya[2] = 1;
- //static uint16_t map_size_xya_Init[3] = {1,1,1};
- //map_size_xya = map_size_xya_Init;
- Storage_Amount = 0;
- Lifter_X = 2; //0-parter,1-pietro
- Lifter_Y = 2; //0-lewo,1-prawo
- Lifter_Z = 2; //0-tyl, 1-przo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement