Commit 797f172b authored by libin's avatar libin
Browse files

删除大的报告

parent aab993bc
......@@ -14,20 +14,11 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase043_available_fixed.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="4439">
<caret line="199" column="27" selection-start-line="199" selection-start-column="27" selection-end-line="199" selection-end-column="27" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase041_companyadmin_edit_station_map.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="322">
<caret line="20" column="22" lean-forward="true" selection-start-line="20" selection-start-column="22" selection-end-line="20" selection-end-column="22" />
<state>
<caret line="20" column="22" selection-start-line="20" selection-start-column="22" selection-end-line="20" selection-end-column="22" />
</state>
</provider>
</entry>
......@@ -47,8 +38,8 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/common/mysql_client.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="368">
<caret line="20" column="32" lean-forward="true" selection-start-line="20" selection-start-column="32" selection-end-line="20" selection-end-column="32" />
<state relative-caret-position="437">
<caret line="20" column="32" selection-start-line="20" selection-start-column="32" selection-end-line="20" selection-end-column="32" />
</state>
</provider>
</entry>
......@@ -56,33 +47,15 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/testcase_for_test/test.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="412">
<caret line="19" column="4" lean-forward="true" selection-start-line="19" selection-start-column="4" selection-end-line="19" selection-end-column="4" />
<state relative-caret-position="92">
<caret line="13" column="28" selection-start-line="13" selection-start-column="19" selection-end-line="13" selection-end-column="28" />
<folding>
<element signature="e#0#35#0" expanded="true" />
<element signature="e#0#16#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$APPLICATION_HOME_DIR$/helpers/typeshed/stdlib/2and3/socket.pyi">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="191">
<caret line="549" column="8" selection-start-line="549" selection-start-column="8" selection-end-line="549" selection-end-column="8" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://D:/python/Lib/site-packages/pymysql/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1748">
<caret line="87" column="4" selection-start-line="87" selection-start-column="4" selection-end-line="87" selection-end-column="4" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase042_companyadmin_station_seat_management.py">
<provider selected="true" editor-type-id="text-editor">
......@@ -212,7 +185,7 @@
</list>
</option>
</component>
<component name="ProjectFrameBounds" extendedState="6">
<component name="ProjectFrameBounds" extendedState="7">
<option name="x" value="-8" />
<option name="y" value="-8" />
<option name="width" value="816" />
......@@ -223,7 +196,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
......@@ -246,6 +218,7 @@
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -438,7 +411,7 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<frame x="-8" y="-8" width="1936" height="1056" extended-state="7" />
<editor active="true" />
<layout>
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.49916527" visible="true" weight="0.25131717" />
......@@ -484,47 +457,6 @@
</watches-manager>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase032_companyadmin_edit_user.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1403">
<caret line="73" column="30" selection-start-line="73" selection-start-column="30" selection-end-line="73" selection-end-column="30" />
<folding>
<element signature="e#68#83#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/module/edit_user.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="398">
<caret line="20" column="32" selection-start-line="20" selection-start-column="19" selection-end-line="20" selection-end-column="32" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/elementlib/administrator.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="191">
<caret line="41" selection-start-line="41" selection-end-line="41" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase004_superadministrator_editcompany.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="368">
<caret line="97" column="44" selection-start-line="97" selection-start-column="44" selection-end-line="97" selection-end-column="44" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase017_companyadmin_create_role.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="299">
<caret line="28" column="16" selection-start-line="28" selection-start-column="16" selection-end-line="28" selection-end-column="16" />
<folding>
<element signature="e#22#55#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase020_companyadmin_uploading_station_map.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="4117">
......@@ -817,8 +749,8 @@
</entry>
<entry file="file://$PROJECT_DIR$/src/testcases_admin/testcase041_companyadmin_edit_station_map.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="322">
<caret line="20" column="22" lean-forward="true" selection-start-line="20" selection-start-column="22" selection-end-line="20" selection-end-column="22" />
<state>
<caret line="20" column="22" selection-start-line="20" selection-start-column="22" selection-end-line="20" selection-end-column="22" />
</state>
</provider>
</entry>
......@@ -832,10 +764,10 @@
</state>
</provider>
</entry>
<entry file="file://D:/python/Lib/site-packages/pymysql/__init__.py">
<entry file="file://$PROJECT_DIR$/src/common/mysql_client.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1748">
<caret line="87" column="4" selection-start-line="87" selection-start-column="4" selection-end-line="87" selection-end-column="4" />
<state relative-caret-position="437">
<caret line="20" column="32" selection-start-line="20" selection-start-column="32" selection-end-line="20" selection-end-column="32" />
</state>
</provider>
</entry>
......@@ -866,26 +798,61 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/common/mysql_client.py">
<entry file="file://D:/python/Lib/socket.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="368">
<caret line="20" column="32" lean-forward="true" selection-start-line="20" selection-start-column="32" selection-end-line="20" selection-end-column="32" />
<state relative-caret-position="-13733">
<caret line="138" column="8" selection-start-line="138" selection-start-column="8" selection-end-line="138" selection-end-column="8" />
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_HOME_DIR$/helpers/typeshed/stdlib/2and3/socket.pyi">
<entry file="file://$USER_HOME$/.PyCharmCE2019.1/system/python_stubs/-287100998/_socket.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="183">
<caret line="138" column="15" lean-forward="true" selection-start-line="138" selection-start-column="15" selection-end-line="138" selection-end-column="15" />
</state>
</provider>
</entry>
<entry file="file://D:/python/Lib/site-packages/pymysql/__init__.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="504">
<caret line="87" column="4" selection-start-line="87" selection-start-column="4" selection-end-line="87" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://D:/python/Lib/threading.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="191">
<caret line="549" column="8" selection-start-line="549" selection-start-column="8" selection-end-line="549" selection-end-column="8" />
<caret line="757" column="8" selection-start-line="757" selection-start-column="8" selection-end-line="757" selection-end-column="8" />
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_HOME_DIR$/helpers/typeshed/stdlib/2and3/socket.pyi">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="260">
<caret line="552" column="80" lean-forward="true" selection-start-line="552" selection-start-column="80" selection-end-line="552" selection-end-column="80" />
</state>
</provider>
</entry>
<entry file="file://D:/python/Lib/ssl.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="398">
<caret line="1038" column="29" lean-forward="true" selection-start-line="1038" selection-start-column="29" selection-end-line="1038" selection-end-column="29" />
</state>
</provider>
</entry>
<entry file="file://D:/python/Lib/asyncio/windows_events.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="168">
<caret line="432" column="23" selection-start-line="432" selection-start-column="12" selection-end-line="432" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/testcase_for_test/test.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="412">
<caret line="19" column="4" lean-forward="true" selection-start-line="19" selection-start-column="4" selection-end-line="19" selection-end-column="4" />
<state relative-caret-position="92">
<caret line="13" column="28" selection-start-line="13" selection-start-column="19" selection-end-line="13" selection-end-column="28" />
<folding>
<element signature="e#0#35#0" expanded="true" />
<element signature="e#0#16#0" expanded="true" />
</folding>
</state>
</provider>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
import threading
from src.common import mysql_client
from src.datalib import test_data
from src.module import deal_db_data
from socket import *
def tcplink(sock,info):
print(info)
sock.send("CRSTSE0A0501PTTC\n".encode())
print(info,"----已发送")
while True:
recvData = sock.recv(1024)
if recvData:
print("接收到数据:", recvData.decode())
else:
break
sock.close()
serverSocket = socket(AF_INET, SOCK_STREAM)
serverSocket.bind(("", 8080))
......@@ -11,10 +25,15 @@ serverSocket.listen(5)
print("----------开始----------")
while True:
clientSocket, clientInfo = serverSocket.accept()
print(clientInfo)
clientSocket.send("CRSTSE0A0500PTTC0D0A\n".encode())
print("----已发送")
recvData = clientSocket.recv(1024)
if recvData:
print("接收到数据:",recvData.decode())
clientSocket.close()
\ No newline at end of file
t=threading.Thread(target=tcplink, args=(clientSocket,clientInfo))
t.start()
# print(clientInfo)
# clientSocket.send("CRSTSE0A0501PTTC\n".encode())
# print("----已发送")
# while True:
# recvData = clientSocket.recv(1024)
# if recvData:
# print("接收到数据:",recvData.decode())
# else:
# break
# clientSocket.close()
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment